Re: Using subprocess.Popen() in a Windows service

2008-11-05 Thread yomgui
hi, this is how i do it: from subprocess import Popen, PIPE, call, check_call if sys.platform == 'win32': net.processWithoutGui = Popen( ['python', self.temporaryFilename,'-w'], shell=False, cwd=lNetworkDir)

Using subprocess.Popen() in a Windows service

2008-11-05 Thread Mark Shewfelt
Hello, I am attempting to use Popen() in a Windows service. I have a small Win32 .exe that I normally run through the os.popen2() function. I've written a class to work with the input and output parameters that are passed and captured from this exe. When I use the class outside of a service using