This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: scp with DOSish paths
- From: Jörg Schaible <Joerg dot Schaible at Elsag-Solutions dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 14 Jul 2004 13:52:53 +0200
- Subject: RE: scp with DOSish paths
- Reply-to: cygwin at cygwin dot com
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/