Fix exception on ctrl+c exit of program under --hold
This commit is contained in:
parent
0aa07ead7e
commit
0904dec810
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ def runpy(args: List[str]) -> None:
|
|||
|
||||
def hold(args: List[str]) -> None:
|
||||
import subprocess
|
||||
ret = 1
|
||||
try:
|
||||
ret = subprocess.Popen(args[1:]).wait()
|
||||
except KeyboardInterrupt:
|
||||
|
|
|
|||
Loading…
Reference in a new issue