On Tue, Mar 29, 2005 at 02:32:50AM -0600, Juan Courcoul wrote:
> 
> On Mar 27, 2005, at 9:57 AM, Clemence Magnien wrote:
> 
> >
> >I don't know anything about screen, but maybe this tip can help
> >you: the nohup command allows you to run a process in the background,
> >and prevent this process to be killed if its parent (i.e. the term it
> >was launched from) terminates.
> >
> >So if you run :
> >$ nohup some_command > output_file &
> 
> Aren't you missing a   2>&1   in there? Cause in bash this will only 
> save standard output but not standard error.

Actually this is a little abusive indeed, but nohup redirects
automatically the error output on the same file than the standard
output (at least on the systems I have used nohup on, so I can
tell this is the case for apple's nohup).

Cheers,
Clemence



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to