[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: bash vs csh
- From: Bret Hughes <bhughes elevating com>
- To: redhat-list redhat com
- Subject: Re: bash vs csh
- Date: Wed May 1 10:14:45 2002
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]