|Perl Monk, Perl Meditation|
Re: How do you get the PID of an external process?by BrowserUk (Pope)
|on Sep 25, 2013 at 02:23 UTC||Need Help??|
Each of these children uses $pid = system(1,"start $executable $args") to start a program.
Don't use start in your command. Start requires a shell to run your program and it is the pid of that shell that is returned to you.
Just use: my $pid = system 1, "$executable $args";
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.