bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #40241] CreateProcess failure with unixy paths


From: Mike Hommey
Subject: [bug #40241] CreateProcess failure with unixy paths
Date: Tue, 22 Oct 2013 07:26:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Follow-up Comment #12, bug #40241 (project make):

Ah no, I'm hitting it again without BATCH_MODE_ONLY_SHELL.

Here is a small testcase:

$ cat > foo.py <<EOF
import sys
print sys.argv
EOF

$ cat > Makefile <<EOF
foo:
        c:/full/path/to/python.exe foo.py "a" b c
EOF

$ make
["foo.py", "a b", "c"]

This does not happen if using "python" instead of
"c:/full/path/to/python.exe".

... which turns out to be a make bug when *not* using the shell, contrary to
what i thought. It happens to be fixed by BATCH_MODE_ONLY_SHELL because it
forces the use of a shell in most cases and unbreaks things.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40241>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]