Thanks to Chris Hoogendyk and John Julian for replying I went with Johns great and simple approach using 2 ssh options i didnt know about. ConnectTimeout=20 BatchMode=yes This has worked a dream and i now set VAR to be the output of the command and pipe the error elsewhere. No need to kill spawned processes Thanks _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri Feb 2 11:29:43 2007
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:04 EST