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

Re^7: Long Process Waits Until End to Display Results

by C_T (Scribe)
on Dec 09, 2004 at 19:12 UTC ( [id://413655]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Long Process Waits Until End to Display Results
in thread Long Process Waits Until End to Display Results

It is possible that he did not properly background the forked-off process,

What should I be doing to make sure the process is properly backgrounded?

CT

Charles Thomas
Madison, WI

Replies are listed 'Best First'.
Re^8: Long Process Waits Until End to Display Results
by tilly (Archbishop) on Dec 09, 2004 at 22:08 UTC
    Close all file descriptors. That either means calling close on STDIN, STDOUT and STDERR (or opening them to files) or else launching a new process with all of those redirected.

    You could have found that at this FAQ entry.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found