Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: system or exec in a web environment

by rbi (Monk)
on Jun 09, 2004 at 09:46 UTC ( #362667=note: print w/ replies, xml ) Need Help??


in reply to system or exec in a web environment

I've used something like:

my $pid; $SIG{CHLD} = sub { wait }; if ($pid = fork()) { # Master print "Process was started in background." return; } else { # Child exec "my_program"; }


Comment on Re: system or exec in a web environment
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-12-22 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls