The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-26-2009
meili100 meili100 is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 33
Why the nohup-ed background process always is "stopped" ?

I let a script A call script B.
I used

Code:
 nohup a.sh &>/tmp/log &

In script A it calls B directly, without any redirecting or nohup or background.

However A is always "Stopped", while B is running correctly. Anybody knows why?
thanks!

-----Post Update-----

BTW, if I don't use nohup and backgrounding, it's OK. i.e. if I use

Code:
a.sh

directly. Everything is OK. I am totally confused.

Last edited by meili100; 05-27-2009 at 01:41 AM..