[Bug 241331] Re: Running a non-existing command in the background causes exit
Jaakov
jaakov at ro.ru
Fri Aug 23 10:32:35 UTC 2013
I confirm the bug presence on Ubuntu Precise + some upstream packages.
bash version: 4.2-2ubuntu2.1
It is 100% repeatable and terribly annoying.
It is dependent on the path length. How to reproduce on my system:
1. Make sure that you have /usr/share/doc/texlive-doc/latex/computational-complexity, or whatever other long path, e.g., by installing texlive-science-doc version 2012.20120611-2.
2. Change into /usr/share/doc/texlive-doc/latex/computational-complexity.
3. Assuming some nonexistant command qqq, type
qqq &
into the bash shell and press Enter.
4. Observe that the bash closes. It should not.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/241331
Title:
Running a non-existing command in the background causes exit
Status in “bash” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: gnome-terminal
In Ubuntu 8.04, running a command which does not exist can sometimes
cause an exit command. Here is an example cut and pasted when gnome-
terminal is set to "stay open on exit".
richard at sepulchrave:~$ gedit test &
[1] 13336
richard at sepulchrave:~$ gdit test &
[2] 13340
richard at sepulchrave:~$ exit
Other times the exit will not happen but the command will return an
Exit 127 status.
richard at sepulchrave:~$ gdit test &
[1] 13403
richard at sepulchrave:~$ bash: gdit: command not found
[1]+ Exit 127 gdit test
richard at sepulchrave:~$ gdit test &
[1] 13405
richard at sepulchrave:~$ exit
Package is
gnome-terminal:
Installed: 2.22.1-0ubuntu2
Candidate: 2.22.1-0ubuntu2
Version table:
*** 2.22.1-0ubuntu2 0
500 http://gb.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/241331/+subscriptions
More information about the foundations-bugs
mailing list