You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/11/26 11:28:32 UTC
[Bug 57264] Exec arg/line parser removes dash symbol from command
line arguments
https://issues.apache.org/bugzilla/show_bug.cgi?id=57264
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
Hmm, seems to work for me.
$ cat /tmp/exec.xml
<project>
<exec executable="uname">
<arg value="-a"/>
</exec>
</project>
$ ant -f /tmp/exec.xml
Buildfile: /tmp/exec.xml
[exec] Linux brick 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Can you please run "ant -v" to see what's going on? For me it says
[exec] Current OS is Linux
[exec] Executing 'uname' with arguments:
[exec] '-a'
[exec]
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
and the dash is there (obviously not only inside the logs) as "uname a" would
cause an error.
--
You are receiving this mail because:
You are the assignee for the bug.