[Bug 668784] Re: nohup is ignored if not executed in a terminal
Sworddragon
668784 at bugs.launchpad.net
Sun Jan 1 22:12:43 UTC 2012
** Description changed:
Binary package hint: lxdm
I'm using Ubuntu 11.04 dev with GNU coreutils 8.5. I have written a
script in ~/test.sh (chmod 755) with the following content:
#!/bin/sh
- nohup sleep 1000
+ nohup sleep 1000 > /dev/null 2>&1
-
- If I execute sh ~/test.sh in a terminal all is working fine. A ~/nohup.out is created and I can logout without that sleep 1000 will hang up. But if I try to execute this file with PCManFM (doubleclick; right click and open; right click and open with sh %f) the sleep 1000 command is executed but the ~/nohup.out isn't created and sleep 1000 will hang up if I logout.
+ If I execute ~/test.sh in a terminal all is working fine. I can logout
+ without that sleep 1000 will hang up. But if I try to execute this file
+ with a filemanager (in my case PCManFM) the sleep 1000 command is
+ executed but sleep 1000 will hang up if I logout.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/668784
Title:
nohup is ignored if not executed in a terminal
Status in “coreutils” package in Ubuntu:
New
Bug description:
Binary package hint: lxdm
I'm using Ubuntu 11.04 dev with GNU coreutils 8.5. I have written a
script in ~/test.sh (chmod 755) with the following content:
#!/bin/sh
nohup sleep 1000 > /dev/null 2>&1
If I execute ~/test.sh in a terminal all is working fine. I can logout
without that sleep 1000 will hang up. But if I try to execute this
file with a filemanager (in my case PCManFM) the sleep 1000 command is
executed but sleep 1000 will hang up if I logout.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/668784/+subscriptions
More information about the foundations-bugs
mailing list