in reply to Re: Win32::Process::Create Process exits before finishing execution
in thread Win32::Process::Create Process exits before finishing execution
I have given the full path of the executable file.
The problem I am facing is, the process is getting spawned but the main process kills it immediately rather than allowing the spawned process to terminate on its own.
The scenario which I have is; first spawn the server process and server process will wait for the client to contact him. The server process is getting spawned and getting killed immediately. After that client process is also spawned and it is also killed immediately. I tried to print the process ids of both spawned processes and both have positive values.
I executed the perl file independently which has the code to spawn 2 processes and it is working fine. We have a framework (with perl modules) which calls this perl file, at that time I am facing this issue.
Is there any way to specify in the main process that do not kill the spawned processes and let them finish their job?