From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5a20f6a3af4c2c8 X-Google-Attributes: gidfee84,public From: trin0008@ermine.ox.ac.uk (Rick Heylen) Subject: Re: Nohup question Date: 1997/06/12 Message-ID: <5npt5l$ia1@news.ox.ac.uk>#1/1 X-Deja-AN: 247980081 References: <01bc6b54$75c682a0$4b0100c0@fx_mav.generix> Organization: Oxford University, England Newsgroups: comp.unix.osf.osf1 In article <01bc6b54$75c682a0$4b0100c0@fx_mav.generix>, Vincent Mathieu wrote: >How can I start a process with an already '?' in the tty column of a ps >command instead of my tty (without exit or logout of course...) ? erm0>echo "main(){if(fork())exit();setsid();sleep(10);}" > test.c erm0>cc test.c erm0>./a.out erm-32>ps x PID TTY S TIME CMD 4528 ?? S 0:01.44 SCREEN -R 27256 ?? S 0:00.00 ./a.out etc.... Rick -- "A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable" - Les Lamport PGP key 512/CA5CADED Differential Cryptanalyst and C/C++, Java Programmer Key fingerprint = 00 00 00 00 00 65 AB 2F 76 EB EF F7 9C 10 FA 88