Request for help on background shell processing
avolio at decuac.UUCP
avolio at decuac.UUCP
Thu Sep 18 02:09:01 AEST 1986
A background job executed from a login shell is related to the
invoker's terminal. A shell script similarly. A background job
executed from a shell script is not.
Example:
Put the line
tty > jnk
in cmd.
When you run cmd or master it works fine. From bgmaster it says "not
a tty"
Now, "rm" has a check in it to see if you are a terminal (isatty()).
If not, it runs as if the -f flag was specified.
--
Fred @ DEC Ultrix Applications Center
INET: avolio at decuac.dec.com * Fight the Fight *
UUCP: {decvax,seismo,cbosgd}!decuac!avolio * Rescue the Unborn *
More information about the Comp.unix
mailing list