I can get rid of the shell=1 using subprocess.Popen([python.exe,
C:\\Python27\\Scripts\\test.py]). This also works fine using debug
mode. I can kill it via os.kill() or Popen.send_signal().
It also runs fine via net start. But when I stop it via net stop, it
gives me the following error:
Have you tried spawning pythonw.exe instead of python.exe?
http://bugs.python.org/issue3905 might help you.
A bit of googling suggests this is a recurring issue with subprocess and
non-windowed applications.
On Wed, Jun 19, 2013 at 3:20 PM, Patrick Tisdale
patrick.tisd...@gmail.comwrote:
I
Hi All,
I really need to be able to do a silent install of the pywin32 package for
python2.7, so I started looking at the distutils bdist_msi option, to see if I
could get that working for pywin32. Although I *was eventually able to do so,*
I ran into several problems that I had to work