[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: bash vs csh
- From: ABrady <kcsmart kc rr com>
- To: redhat-list redhat com
- Subject: Re: bash vs csh
- Date: Wed May 1 12:08:27 2002
On 01 May 2002 09:02:03 -0500
Bret Hughes <bhughes elevating com> quietly intimated:
> 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.
I missed the original post. But I tried it with kedit and it's working flawlessly here.
I agree with using an editor designed for the purpose, though I might
disagree on which is best suited for such things. (8^0)
--
Make yourself at home. Clean my kitchen.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]