Skip to content
Snippets Groups Projects
Commit b00a37b2 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Worker: run settings['blender_cmd'] through shlex

This allows for more complex Blender commands. Before this commit, the
setting could only point to an executable; now it is also possible to
provide extra CLI arguments to Blender.
parent 20f12a5a
No related branches found
No related tags found
No related merge requests found
......@@ -422,8 +422,10 @@ class BlenderRenderCommand(AbstractSubprocessCommand):
return None
async def execute(self, settings: dict):
cmd = [
settings['blender_cmd'],
import shlex
cmd = shlex.split(settings['blender_cmd'])
cmd += [
'--enable-autoexec',
'-noaudio',
'--background',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment