I am looking to run my python scripts using the command line. So far, I have confirmed I can open blender using the command line, and I can open a specific file as well.
The issue comes when I attempt to load a script. I seem to always get the following error:
OSError: Python file "C:\Program Files\Blender Foundation\Blender\genererate_tears.py" could not be opened: No such file or directory
I would imagine I have some missing reference, but I have not been able to find anything where someone else solved this issue.
Here's what my my command line looks like
C:\Program Files\Blender Foundation\Blender>blender -b H:\Blender3d\ScriptingPractice\scriptingpractice.blend -P genererate_tears.py
[Blender.exe] _ [blender file with script] _ [syntax to run python] _ [python script isnide of .blend file]
I have tested the rest of it without the script part, and not running it in the background, so I'm pretty confident it's just the script reference
- and according to this post https://developer.blender.org/T60330 it isn't an issue with older versions?