mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-10-20 18:58:47 +00:00
runfvp: handle control-c cleanly
If the script receives control-c, don't display the stack trace. Change-Id: Id0ebf9476ecd685302723fde6a36c2e899d0f3eb Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
1 parent
7819d6bed8
commit
c5465209c1
1 file changed
+4
-1
+4
-1
@@ -164,4 +164,7 @@ def runfvp(args):
|
||||
sys.exit(subprocess.run(cli).returncode)
|
||||
|
||||
if __name__ == "__main__":
|
||||
runfvp(sys.argv)
|
||||
try:
|
||||
runfvp(sys.argv)
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
Reference in new issue
Block a user