X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/b6dfdc0cb7397e2853bb5cb584e687f9303a661a..fc6951077155f8a948a077b5531be95d14f5375c:/tools/helpers/lxc.py diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index 3a8edf8..bdd2403 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -472,7 +472,12 @@ def shell(args): command.extend(args.COMMAND) else: command.append("/system/bin/sh") - subprocess.run(command) + + try: + subprocess.run(command) + except KeyboardInterrupt: + pass + if state == "FROZEN": freeze(args)