I have an Perl application which starts another Perl application with the code
# path to Perl.exe $command_a = $cfg_perl_exe; # Perl.exe and the 2nd Perl application $command_b = 'perl.exe' . ' "' . $app_dir . $app_name . '"'; $ppc = Win32::Process::Create( $process, $command_a, $command_b, 0, NORMAL_PRIORITY_CLASS, '.' ); $process->Wait(INFINITE);
This has worked on a number of PCs with various flavours of windows os until now!
The PC which is failing has a specification of
Operation system Windows XP;
Physical memory – 2GB;
Processor – Intel Pentium dual core 1.6
When I try to start the 2nd application, the Physical Memory graph on the Performance tab of the Windows Task Manager shows a steady increase in memory usage from about 1.01 GB to 2.6 GB when the memory drops suddenly back to 1.01 GB with an indication that the 2nd process has finished (although it has not started fully).
Can anyone tell me why this has failed and how to get the 2nd application to start?
In reply to Failure to start 2nd Perl application by bensonmonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |