It is currently Tue, 22 Jul 2014 16:36:43 GMT



 
Author Message
 SIGTTIN
Hi, When I run my program in background, I keep getting this signal and the
program stopped. Anyone know why I will get this signal?


 Tue, 06 Apr 2004 05:05:20 GMT   
 SIGTTIN

 Calvin> Hi, When I run my program in background, I keep getting this
 Calvin> signal and the program stopped. Anyone know why I will get
 Calvin> this signal?

SIGTTIN is delivered to background jobs if they try and read from the
controlling tty. The usual effect is to suspend the job; this allows
the user to put the job back in the foreground and then supply the
expected input.

--
Andrew.

comp.unix.programmer FAQ: see <URL: http://www.**-**.com/ ;
                           or <URL: http://www.**-**.com/ ;



 Tue, 06 Apr 2004 05:40:45 GMT   
 SIGTTIN
: Hi, When I run my program in background, I keep getting this signal and the
: program stopped. Anyone know why I will get this signal?

Usually happens if the program tries to read from the terminal and
is backgrounded -- where it can't read from the tty.  A cheap solution
is to "program < /dev/null" so it gets an EOF first (and should stop
trying to read from the tty).

--
Fred



 Tue, 06 Apr 2004 06:22:37 GMT   
 
   [ 3 post ] 

Similar Threads

1. SIGTTIN and rexec

2. setsid and csh gives possibly bogus SIGTTIN

3. nohup Stopped (SIGTTIN) problem

4. SIGTTIN signal problem

5. SIGTTIN - how do I find the cause

6. rsh never returns to prompt - SIGTTIN

7. Help rookie with SIGTTIN

8. SIGTTIN signal problem


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software