#1591: runghc, ghc rts or base implements unintuitive shell escaping in Windows
-------------------------+--------------------------------------------------
Reporter: eivuokko | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-------------------------+--------------------------------------------------
Comment (by igloo):
Hmm, actually, this seems to be standard mingw/cygwin commandline parsing
behaviour:
{{{
$ cat c.c
#include <stdio.h>
int main(int argc, char *argv[]) {
int i;
for (i = 0; i < argc; i++) {
printf("%s\n", argv[i]);
}
return 0;
}
$ c:/mingw/bin/gcc c.c -o m
$ ./m "C:\Program Files\" "C:\Program Files\"
C:\cygwin\home\ian\cmdline\m.exe
C:\Program Files" C:Program
Files"
$ c:/cygwin/bin/gcc c.c -o c
$ ./c "C:\Program Files\" "C:\Program Files\"
./c
C:\Program Files" C:Program
Files"
}}}
so I'm not convinced we should do anything.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1591>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs