On 11/29/2012 06:47 PM, chris.whatling@gms-software.net wrote:

Hi Shachar,

 

thanks for the quick response. You are correct, I can work with that, it's just that I'm running it from a threaded Delphi application that poles the command output pipe, so with and it not passing anything back I'm not detecting the exit.

 

I think I'll have to improve my monitoring of the pipe.

That is the preferred solution.

Another is to detect when rsyncrypto exits (the pipe is closed), and then, if you do not see any errors, to assume everything is okay.

I will repeat, for the sake of emphasis, that the first option is the recommended one.

Good luck,
Shachar

-- 
Shachar Shemesh