Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-08-23 15:18:31 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-08-23 15:18:31 +0400
commit32a05baad9793e6843066a5c4156a1522366da9a (patch)
treed862fe2d88ad4b9845d69339a55fb33c314c3dec /release
parentefa97ea40f777d8f626b5c101e5ee56331e936d1 (diff)
Fix #32388: bpy.ops.wm.path_open() not working with path with spaces on Windows.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/wm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index a81733fe59c..b34c427c4a1 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -790,7 +790,7 @@ class WM_OT_path_open(Operator):
return {'CANCELLED'}
if sys.platform[:3] == "win":
- subprocess.Popen(["start", filepath], shell=True)
+ os.startfile(filepath)
elif sys.platform == "darwin":
subprocess.Popen(["open", filepath])
else: