We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd22228 + e8e7ca1 commit b993010Copy full SHA for b993010
winpython/utils.py
@@ -371,8 +371,8 @@ def python_query(cmd, path):
371
"""Execute Python command using the Python interpreter located in *path*"""
372
the_exe = get_python_executable(path)
373
# debug2021-09-12
374
- print('%s -c "%s"' % (the_exe, cmd), ' * ', path)
375
- return exec_shell_cmd('%s -c "%s"' % (the_exe, cmd), path).splitlines()[0]
+ print('"%s" -c "%s"' % (the_exe, cmd), ' * ', path)
+ return exec_shell_cmd('"%s" -c "%s"' % (the_exe, cmd), path).splitlines()[0]
376
377
def python_execmodule(cmd, path):
378
0 commit comments