On 06/02/2015 03:42 PM, Marc Santhoff wrote: > On Di, 2015-06-02 at 14:21 +0200, JuuS wrote: > >> Anyone have an idea why this is so??? > > Maybe the difference is that your TProcess is reading only stdout, not > stderr. Dunno if there is a switch in TProcess, if not you'd need to > redirect stderr to stdout (which is shell dependant, 2>&1 for sh, >& for > csh, IIRC). >
Thanks for reply Marc, but Michael had it absolutely right. I changed my TProcess to run /bin/sh instead of rsync, added -c as first param, then the entire rsync command as second param. It works Great! Thanks for your answers guys. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
