scp with DOSish paths

Jörg Schaible Joerg.Schaible@Elsag-Solutions.com
Wed Jul 14 11:52:00 GMT 2004


Corinna Vinschen wrote on Wednesday, July 14, 2004 1:45 PM:
>> 
>> Background: scp is called by a Java application (Maven) and I cannot
>> even wrap the call with a script.
> 
> Sure you can.  Create a script called "scp" which is in
> Maven's $PATH before /usr/bin.

No. Been there, done that. But a call to System.exec from a non-Cygwin-JVM (not that I know one <g>) will not pickup a shell script. But nevertheless I created a DOS batch that calls a shell script that does the necessary cygpath conversion now ... 

-- Jörg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list