subprocess.Popen() and a .msi installer

Nobody nobody at nowhere.com
Sat Dec 18 10:04:33 EST 2010


On Fri, Dec 17, 2010 at 17:57, Sebastian Alonso wrote:

> Hey everyone, I'm working on a script which uses subprocess to launch a
> bunch of installers, but I'm getting problems with .msi installers
> although .exe ones work fine. The output I get is this:
>
>>>> import subprocess
>>>> p = subprocess.Popen('python.msi')

You need to add shell=True to "execute" anything which isn't a binary
executable (EXE).




More information about the Python-list mailing list