Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Failure to start 2nd Perl application

by Marshall (Prior)
on Oct 08, 2013 at 00:28 UTC ( #1057332=note: print w/ replies, xml ) Need Help??


in reply to Failure to start 2nd Perl application

This doesn't sound like an "out of memory" situation.
Yes, that can happen, but it is unlikely upon startup.

# $command_a should be the full path name # of the executable file. # $command_b should be the actual command. Your code: $ppc = Win32::Process::Create( $process, $command_a, #better? $full_path_to_cmd_exe $command_b, #better? $cmd_with_args 0, NORMAL_PRIORITY_CLASS, '.' ); Example from Win32::Process: $ppc = Win32::Process::Create( $ProcessObj, "C:/winnt/system32/notepad.exe", "notepad temp.txt", 0, NORMAL_PRIORITY_CLASS, "." );


Comment on Re: Failure to start 2nd Perl application
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1057332]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-07-10 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (203 votes), past polls