in reply to Re: How to know if a perl script is put in the background
in thread How to know if a perl script is put in the background
BTW, I'm a bit surprised that your backgrounded script's stdout/stderr is going to the terminal. Normally, it wouldn't, if you start a script from the shell using & without redirecting those handles. The shell would stop the backgrounded script in case it's writing anything to stdout or stderr....It's my experience that backgrounded jobs still write STDERR to the screen/terminal under every shell/OS combination. For example,
fills my OS X terminal, as it does on Solaris and OpenBSD.tar cvf /dev/null /usr/local &
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to know if a perl script is put in the background [OT]
by almut (Canon) on Nov 18, 2008 at 18:00 UTC | |
by kyle (Abbot) on Nov 18, 2008 at 18:33 UTC | |
by almut (Canon) on Nov 18, 2008 at 18:49 UTC | |
by mpeever (Friar) on Nov 19, 2008 at 14:48 UTC |