My application creates subprocesses. Typically, these processes start and end without any problems. However, sometimes they fail.
I am currently using the python subprocess module to create these subprocesses. I check if the subprocess called the method call Popen.poll(). Unfortunately, since my debugger is activated during the crash, polling does not return the expected result.
I would like to see the debug window (not interrupt it) and still detect if the process crashed in python code.
Is there any way to do this?
source
share