Re: Pipe creation problem: From Java app using rsync + ssh on windows with cygwin

2009-03-25 Thread Derek OKeeffe
Thanks Michael, Yes Its outputing to the java Process's input stream. This normally works. It works fine in linux. Maybe a problem with cygwin... I tried removing the -progress to see if it would help but to no avail. I think its happening when rsync is opening the ssh pipe to the remote host. D

Pipe creation problem: From Java app using rsync + ssh on windows with cygwin

2009-03-25 Thread Derek OKeeffe
Hello, I'm having trouble calling rsync from java on windows vista with cygwin installed. Its strange as pasting the exact same command into a command shell works fine. My test java call looks like this. * String[] envVars = {"PATH=c:/cygwin/bin;%PATH%"}; File workingDir = new File("c:/cygwin/bin