On Di, 2015-06-02 at 14:21 +0200, JuuS wrote: > Anyone have an idea why this is so??? > > > > TERMINAL OUTPUT: > juus@JuuSKub:~$ rsync -n -vshtplgiE --stats --modify-window=1 --progress > /home/juus/Documents/** /media/juus/Lin1TB/BKactive > skipping directory CodeBlocks > skipping directory IntelliJ > skipping directory qt > >f+++++++++ hackjs5.html > >f+++++++++ hackjs7.html > >f+++++++++ hackjs8.html > > Number of files: 3 (reg: 3) > Number of created files: 3 (reg: 3) > Number of deleted files: 0 > Number of regular files transferred: 3 > > > > OUTPUT FROM MY PROGRAM > rsync: link_stat "/home/juus/Documents/**" failed: No such file or > directory (2) > > Number of files: 0 > Number of created files: 0 > Number of deleted files: 0 > Number of regular files transferred: 0
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). -- Marc Santhoff <[email protected]> -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
