This is the mail archive of the
mailing list for the Cygwin project.
Re: Spawning Java from C
> 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,
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple