delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/14/07:53:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
Subject: RE: scp with DOSish paths
MIME-Version: 1.0
Date: Wed, 14 Jul 2004 13:52:53 +0200
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC1760E8@esmail.elsag.de>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg DOT Schaible AT Elsag-Solutions DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i6EBr3g6021150

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019