Skip to content

Commit

Permalink
fix(util): fix windows rfluxmtx file path with space
Browse files Browse the repository at this point in the history
  • Loading branch information
taoning committed Jul 22, 2024
1 parent ffc33e3 commit 0537938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyradiance/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def rfluxmtx(
if octree is not None:
cmd.extend(["-i", str(octree)])
if scene is not None:
cmd.extend([str(s) for s in scene])
cmd.extend(f"'{str(s)}'" for s in scene)
return sp.run(cmd, check=True, stdout=sp.PIPE, input=rays).stdout


Expand Down

0 comments on commit 0537938

Please sign in to comment.