Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 browsing the Monastery: (6)
As of 2015-03-29 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (630 votes), past polls