[python-win32] Passing parameters to a Win32 app

Andres Rosado arosado@softhome.net
Tue, 06 Aug 2002 20:44:33 -0400


I'm making a signature program in Python. If I run the email client doesn't 
need parameters, it works OK. But if I pass any parameters, it "discards" 
them. Originally, the script used os.spawnl() to execute the app. Then I 
installed the Win32 extensions and neither win32api.ShellExecute(), nor 
win32api.WinExec(), nor win32process.CreateProcess() have given me any good 
results.

I also searched on Google Groups and found a solution using os.spawnv(). I 
tried it and it doesn't work.

Is there something I'm overlooking? Which should function should I use?

Thanks for your help!


-----------------------------------
Andres Rosado
Email: andresr@despammed.com
ICQ: 66750646
Homepage: http://andres980.tripod.com/

He who laughs, lasts.