ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: problem with commandlines
Date Thu, 10 Aug 2000 15:09:49 GMT
>>>>> "CW" == Cory Wandling <> writes:

 CW> When I have built things like this I have always used the
 CW> String[] version of exec.

This is what the current (CVS) exec task does.

The problem comes in when we need to change the working directory of
the spawned process. JDK 1.3 has a method to do this (and we use it,
thanks Jesse), the Mac seems to handle this if we set user.dir. On
Win9x and Unix we use a shell script, this one gets the parameters via
the String[] call but doesn't quote the correctly when invoking the
desired command.


View raw message