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/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to