Brian Dessent wrote:
> Eric Blake wrote:
> > This is because the msys shell is specially compiled with a hack that
> > alters command line arguments that look like filenames into their windows
> > equivalent, before invoking the child program.  ...
> 
> This is not true, the argument translation is done in the MSYS libc
> runtime not in the shell, so it happens automatically whenever any MSYS
> binary exec()s a non-MSYS binary.

Indeed: The conversion is done in msys-1.0.10-src.tar.bz2, file
msys/1.0/10/rt/src/winsup/cygwin/spawn.cc, function spawn_guts() - a hacked
version of the original Cygwin spawn.cc.

Bruno



Reply via email to