On Saturday 12 June 2004 07:22 pm, Dan Jacobson wrote: > How does one get ssh to not wait? > > ssh somewhere <<! > touch file > sleep 333 && rm file& > ! > echo I want control to arrive at this line without waiting 333!
I know this has been solved other ways, but I'm thinking the generic syntax is useful too (in the case where a program doesn't have a background mode): ssh -T somewhere <<! & touch file sleep 333 && rm file ! echo I want control to arrive at this line without waiting 333! The -T makes ssh not complain about stdin not being a terminal. -- Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]