Skip to content

Commit b993010

Browse files
authored
Merge pull request #1062 from stonebig/master
Update utils.py
2 parents bd22228 + e8e7ca1 commit b993010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

winpython/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ def python_query(cmd, path):
371371
"""Execute Python command using the Python interpreter located in *path*"""
372372
the_exe = get_python_executable(path)
373373
# 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]
374+
print('"%s" -c "%s"' % (the_exe, cmd), ' * ', path)
375+
return exec_shell_cmd('"%s" -c "%s"' % (the_exe, cmd), path).splitlines()[0]
376376

377377
def python_execmodule(cmd, path):
378378
"""Execute Python command using the Python interpreter located in *path*"""

0 commit comments

Comments
 (0)