Fix #32388: bpy.ops.wm.path_open() not working with path with spaces on Windows.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user