Posted By:
Christopher_Koenigsberg
Posted On:
Saturday, May 21, 2005 06:15 PM
the only complication I could see would be when the process expects input, or writes diagnostic output -- you have to anticipate how and when to supply its stdin at the right times, in response to prompts, and read its stdout/stderr at the right times.
It might be easier just to do 'scp', since that does not require any interaction, or equivalently, 'ssh' with the output directed to a local file at the remote host.