I connect to some mac machine using SSH and run a command similar to:
nohup /var/root/install.sh param1 param2 </dev/null >/var/root/vvv.out 2>&1 & echo '' ; echo ERROR_CODE:$?
It seems to work fine, but if I close the session in the middle of the install, the session gets stuck and is visible using the
The same trick seems to work successfully on Linux machines.
Edit: Environment details are 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
Could it be that this version is just too old? According to Wikipedia powerpcs were supported until until August 2006.