Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Script hangs or dies when run in background. Works fine in foreground.

by mears11 (Initiate)
on Nov 12, 2005 at 03:17 UTC ( #507922=note: print w/replies, xml ) Need Help??


in reply to Script hangs or dies when run in background. Works fine in foreground.

The problem was with stderr not being redirected to a file. I had a grep call that would sometimes write to stdout when a directory was empty. I also set: $SIG{HUP} = 'IGNORE'; Just to be on the safe side. Thanks.
  • Comment on Re: Script hangs or dies when run in background. Works fine in foreground.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-02-23 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (339 votes). Check out past polls.