HELP - Background jobs in csh
gda
gda at creare.uucp
Fri Apr 5 23:47:24 AEST 1985
Can anyone suggest a way for a program to know if it's running
in background ? We have a program that is partly interactive,
but when run in background we want it to skip the interactive
part. We tried checking if STDIN was a tty, but that didn't help.
We think it could call up "ps" and look for itself, but there must
be an easier way...
Thanks for your help (in advance).
Gray Abbott
Creare Inc.
{...dartvax!creare!gda}
More information about the Comp.unix.wizards
mailing list