Getting process exit code from CreateProcess
From: noreply (sami.viitanen_at_pp6.inet.fi(noreply))
Date: 02/27/04
- Previous message: Marc Rohloff: "Re: quirky stuff"
- Next in thread: Rob Kennedy: "Re: Getting process exit code from CreateProcess"
- Reply: Rob Kennedy: "Re: Getting process exit code from CreateProcess"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Feb 2004 14:12:44 GMT
Hello,
Is it possible to get exit code from process that is executed with
createprocess?
What I'm trying to do is execute 'cmd /c python_script.py >
output_file.temp' and get exit code of python script to delphi.
So python script is executed and it's output is redirected to file.
All I get is exit code from cmd.exe. Is python_script.py in that case
some kind of child process? And why I need that 'cmd /c' part to even
execute the script at all?
Thanks in advance.
-SV
- Previous message: Marc Rohloff: "Re: quirky stuff"
- Next in thread: Rob Kennedy: "Re: Getting process exit code from CreateProcess"
- Reply: Rob Kennedy: "Re: Getting process exit code from CreateProcess"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|