X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 22 Nov 2007 13:11:52 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Nicolai Kamenzky cc: cygwin AT cygwin DOT com Subject: Re: Running Cygwin bash from Ant script In-Reply-To: <4A00B393-DD8B-403D-99BA-F90F9985AB1C@inf.fu-berlin.de> Message-ID: References: <4A00B393-DD8B-403D-99BA-F90F9985AB1C AT inf DOT fu-berlin DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Wed, 14 Nov 2007, Nicolai Kamenzky wrote: > Hi folks! > > In my Ant script I have a target which should > 1. Start the Cygwin bash, > 2. Change the current directory, and > 3. Execute a command. > > I have done this previously using the windows console, > but now I want to do the same with the Cygwin bash. > > My Ant target looked like this: > > > > > > > > > I tried this, but it didn't work: > > > > > > > > > Any ideas? This isn't really Cygwin-specific -- you'd have the same problem with ant and bash on Linux. Don't use "arg line", use something like HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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/