On Wed, 2002-05-01 at 08:31, Cesar Moya wrote:
> Hello everyone:
> 
> Suppose I run a program under the bash shell from the
> console in KDE or GNOME using a command like this
> 
> $ kedit prog1.c &
> 
> If I kill the console (using the mouse) from which I issue
> that command, the process "kedit" also gets killed!!!).
> 
> However, if I do the same using the csh shell, I do not
> have that problem.  (the console is killed but not the
> process "kedit").
> 
> Why the bash shell cannot keep that process running?

it can but sending it to the back ground with & does not thell it to
ignore the hangup signal sent to child processes when the console dies. 
Try 

nohup kedit myprog.c & 

see if that has the expected results.

<editor war> or of course use a real editor.  gvim detaches itself from
the parent so neither & nor nohup are needed </editor war> :)

seriously, I have never used kedit it may bee the coolest thing since
the hard drive for all I know.

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to