Pass the right number of arguments to exit()
When using gdb to quit the panel, pass the right number of arguments to exit(), so that gdb calls it instead of erroring out. svn path=/trunk/; revision=22
This commit is contained in:
parent
ce969f7bb4
commit
0a2a65e810
@ -17,7 +17,7 @@ try:
|
|||||||
for pid in pids:
|
for pid in pids:
|
||||||
subprocess.call(["gdb", "-batch-silent",
|
subprocess.call(["gdb", "-batch-silent",
|
||||||
"-ex", "call panel_session_do_not_restart()",
|
"-ex", "call panel_session_do_not_restart()",
|
||||||
"-ex", "call exit()",
|
"-ex", "call exit(0)",
|
||||||
"-p", pid], stdout=devnull, stderr=devnull)
|
"-p", pid], stdout=devnull, stderr=devnull)
|
||||||
devnull.close()
|
devnull.close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user