Thanks very much for posting this solution - you solved my problem as well!!!
I had tried Win32::Process::Create(), and saw mention of the DETACHED_PROCESS flag, but had not yet tried it and wasn't sure how to specify it (as which parameter).
I had spent a day or so trying different combinations of things trying to get this to work. If my child process was a Windows-type application, the parent exited. But if the child was a console-type application, the parent would wait for it. Upon specifying the DETACHED_PROCESS flag as in your example, the console-type application is now spawned and the parent exits.
Eric S.In reply to Re^3: Can't get Win32::Create::Process() parent to exit before it's children
by Anonymous Monk
in thread Can't get Win32::Create::Process() parent to exit before it's children
by AlphaGrey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |