* Nohup question
@ 1997-06-12 4:00 Vincent Mathieu
1997-06-12 4:00 ` Rick Heylen
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Mathieu @ 1997-06-12 4:00 UTC (permalink / raw)
When you start an unix command with nohup, the resulting process starts
with your tty (ps -ft <My tty>), then '?' after you've logged out.
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...) ?
Thanks to answer me quickly.
Any answers will be welcomed.
Vincent
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Nohup question
1997-06-12 4:00 Nohup question Vincent Mathieu
@ 1997-06-12 4:00 ` Rick Heylen
0 siblings, 0 replies; 2+ messages in thread
From: Rick Heylen @ 1997-06-12 4:00 UTC (permalink / raw)
In article <01bc6b54$75c682a0$4b0100c0@fx_mav.generix>,
Vincent Mathieu <vincent.mathieu@hol.fr> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-06-12 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-12 4:00 Nohup question Vincent Mathieu
1997-06-12 4:00 ` Rick Heylen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox