On Thu, Sep 19, 2013 at 11:27:14AM +0530, Mandeep Sandhu wrote:
If I start a program in the background mode (like ./prog ) and exit the
shell (Ctrl+D), I see the following message:
There are stopped jobs. A second attempt to exit will enforce their
termination.
If I exit again,
i can confirm the behavior.
Thanks!
i believe the message is in error though. because the job in the
background is not actually stopped. there should be a different message
instead or fish should just exit.
I think fish should just exit, same as bash.
I'll open an issue for it and fix
This has come up before a couple of times, and is addressed (to some
extent) with https://github.com/fish-shell/fish-shell/issues/111 which
seems to make the message only appear for jobs that are actually stopped
(not just backgrounded)
The defence (IIRC) for leaving this in was that most
Oops, I think I reported this problem on an older version (2.0.0) which I
have installed from the Ubuntu repo's.
From the comments of that iossue, it looks like it's been fixed. Will try a
source build and see.
Sorry about the noise.
Regards,
-mandeep
On Thu, Sep 19, 2013 at 2:10 PM,
On Thu, Sep 19, 2013 at 09:40:39AM +0100, Stestagg wrote:
The defence (IIRC) for leaving this in was that most processes (even some
GUI ones) get pretty upset if their controlling terminal (standard
in/standard out) go away on them while they're running. This can lead to
some strange errors
If I start a program in the background mode (like ./prog ) and exit the
shell (Ctrl+D), I see the following message:
There are stopped jobs. A second attempt to exit will enforce their
termination.
If I exit again, immediately, it'll quit the shell. However, the above
message made me think that