SIGTTIN when running with &by Massyn (Hermit)
|on Nov 11, 2002 at 09:43 UTC||Need Help??|
Massyn has asked for the
wisdom of the Perl Monks concerning the following question:
I've coded a perl script to report the status of our Tivoli environment. Everything works fine when I run the script, however, when I put the script in the background with the & operator, the script terminates with the following error.
1 + Stopped (SIGTTIN) nohup ./sm-status.sh &
I could isolate the problem down to this line of code, which executes an rsh to a remote AIX server. rsh works fine, as said before, I can execute the script without a problem.
You never know how important a backup is until you need it.