Spawning Java from C

Jim Rome jamesrome@gmail.com
Fri Feb 24 16:14:00 GMT 2012


> Here's the thing I am wondering about:
> 
> In bash, in a " " quoted string, backslash acts kind of as in C and may
> need to be escaped (doubled). It can be tricky/painful to find the
> right quoting/escaping combination to get what is necessary. In a
> ' ' quoted string, you get what you type. So it would be interesting
> to see the line that tries to invoke java. You might need to run a
> script with -v or -x (or both) in effect to see exactly what bash
> is doing ...
> 

That did it, although I think I tried it with no quotes before. I also 
used Windows paths with / in them.
This was really frustrating. Cygwin should have better 
documentation about issues like this.

Thanks for the help,
Jim



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list