If you are running a DOS app then just use create a child process of
command.com with the commandline of "command.com /C program.exe param1
param2 param..."
-----Original Message-----
Behalf Of John Christenhusz
Sent: Wednesday, 3 February 1999 14:12
Subject: [DUG]: createProcess() running batch file
When I use the API call CreateProcess() to run a DOS exe or a batch
file, it doesn't close the window after execution. As a result the
function call CreateProcess() hangs.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz