Hello
I’m trying to do a GUI using wxPython. I need to create a button which will launch a blender with specific file and it would be great if only 3d view apears. I found this function:
os.spawnl(os.P_WAIT, ‘c:\Program Files\Blender Foundation\Blender\blender.exe -b c:\AutoMiner Symulator\kr150.blend -f 1’)
but i get this:
Traceback (most recent call last):
File “gui5.py”, line 169, in Wlacz
File “C:\Python24\Lib\os.py”, line 597, in spawnl
return spawnv(mode, file, args)
OSError: [Errno 22] Invalid argument
Anyone can help me?