diff --git a/tools/runner.py b/tools/runner.py index 14df63ec..fbdf9ddf 100644 --- a/tools/runner.py +++ b/tools/runner.py @@ -277,6 +277,8 @@ class RunnerAbstract: else: os.remove(f) + fcntl.ioctl(STDIN_FILENO, TIOCSTTY, 1) + def cleanup_environment(self): rmtree('/tmp/iwd') rmtree('/tmp/certs') @@ -479,8 +481,6 @@ class QemuRunner(RunnerAbstract): super().prepare_environment() - fcntl.ioctl(STDIN_FILENO, TIOCSTTY, 1) - def stop(self): RB_AUTOBOOT = 0x01234567 #