TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:6767] Re: [SCALUG] Re: [TCLUG:6728] csh question



On 29 Jun, Troy A Johnson wrote:
> On Tue, 29 Jun 1999 schewe@tcfreenet.org wrote:
>> How about just calling ps ax and grep for $$, your own PID and check if
>> the tty is '?'.  I did a quick check of this with my seti process and
>> it's not using a tty, so this should work.
> 
> I am not certain, but I think that your seti process doesn't have a
> controlling tty, but that is different from being a background process.
> Is this correct?
> 
I'm not sure.  I know that I'm redirecting output to /dev/null and it's
in the background.  I know it doesn't have a tty, I just thought
background jobs don't have ttys.
-- 
Jon Schewe
schewe@tcfreenet.org
http://tcfreenet.org/~schewe