ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38771] - apply task strips needed quote character from command line
Date Thu, 23 Feb 2006 19:58:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38771>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38771





------- Additional Comments From bpracht@nc.rr.com  2006-02-23 20:58 -------
(In reply to comment #11)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > Hmm.  Now how does that make sense?  Hmm... the only way is that the
problem is
> > > in the Windows APIs (that I am guessing are) shared by CMD.EXE and the JVM's
> > > process execution component.
> > 
> > My point being that perhaps a direct call to CMD goes through one less level of
> > processing... ?
> > 
> > 
> That's interesting, but irritating.  Btw, I modified my test case, and verified
> that the quote disappears even when it's in the middle of an argument.  Someone
> did something bad somewhere.
> (In reply to comment #10)
> > another interesting note is that while quotes are preserved on e.g. cmd /c echo
> > ..., they are stripped when you call e.g. cygwin "echo" directly... also cmd /c
> > cmd /c echo ... preserves quotes.  Still the only workable conclusion I can see
> > is that cmd is treated differently from other executables... which is
> > dissatisfyingly cryptic.
> 
> That's interesting, but irritating.  Btw, I modified my test case, and verified
> that the quote disappears even when it's in the middle of an argument.  Someone
> did something bad somewhere.
> 
> So is the only solution to call cmd.exe /c then?

If so, how would I then make that call to cl.exe or whatever compiler, given
that it'll have those quote characters in them?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message