Open blender.exe only with 3d view

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?

how many arguments does os.spawnl take?
what are they?

it takes as many as you want… but at least 3

os.spawnl(os.P_NOWAIT,r"c:\windows\system32\shutdown.exe","shutdown.exe","-s","-m",name,"-t","300")

Because of the single threaded nature of blender your GUI will probably lock the blender application up till the GUI exits.