[issue26400] SyntaxError when running Python 2.7 interpreter with subprocess.call

2016-02-21 Thread giumas
giumas added the comment: It worked also for me with the official 64-bit distribution! I get that buggy behavior with the Anaconda distribution (this was the "Library\bin"). I should have checked it as first step! My apologies and thank you so much for your kind help. --

[issue26400] SyntaxError when running Python 2.7 interpreter with subprocess.call

2016-02-21 Thread giumas
giumas added the comment: No, I don't. I have just double-checked it. Did you try to run my minimal example on your machine? If yes, are you getting the same behavior? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue26400] SyntaxError when running Python 2.7 interpreter with subprocess.call

2016-02-21 Thread giumas
New submission from giumas: On Windows, I am getting a `SyntaxError` when I try to input commands after having launched a Python 2.7.x interpreter with `subprocess.call`. This is a minimal example: import os import subprocess def python_env_path(python_path