Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset="iso-8859-1" Date: Wed, 14 Jul 2004 13:52:53 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: =?iso-8859-1?Q?J=F6rg_Schaible?= To: X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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 ) 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/