bensonmonk has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Failure to start 2nd Perl application
by ig (Vicar) on Oct 06, 2013 at 17:54 UTC | |
by Anonymous Monk on Oct 07, 2013 at 07:09 UTC | |
by ig (Vicar) on Oct 07, 2013 at 10:01 UTC | |
by bensonmonk (Novice) on Oct 07, 2013 at 14:24 UTC | |
by marinersk (Priest) on Oct 07, 2013 at 08:00 UTC | |
Re: Failure to start 2nd Perl application
by Marshall (Canon) on Oct 08, 2013 at 00:28 UTC |