Laufend:
nohup command ... > file &
 lässt stderr und stdin offen. Führen Sie stattdessen Folgendes aus:
nohup command ... > file 2>&1 <&- &
 oder:
nohup command ... > logfile 2> errfile <&- &
 wodurch stdout umgeleitet und stdin geschlossen wird.
Denken Sie daran, dass Ihr Befehl möglicherweise abbricht, wenn er nicht von stdin lesen kann.