** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668784

Title:
  nohup is ignored if not executed in a terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/668784/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to