UnixHowTo: Stopped (tty output) HP Unix
Issue:-
Unix shell script is running fine while running in foreground but getting stopped while trying to run in the background.
Reasons:-
The script is trying to write on the terminal and as the script is being suppressed in background mode, its giving I/O error and getting stopped.
Resolution:-
---After it stopped, check in the processes ps -fu
--- Normally the problem gets resolved if you do stty sane or disable some stty commands.
Some good links:-
script with rsh has error stty : : I/O error
Problems with nohup
Labels: Technical_HowTo_Unix