Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://362667]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-01-24 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (205 votes). Check out past polls.