Re: [python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-23 Thread Tim Roberts
David Hutto wrote: > On Wed, Feb 22, 2012 at 12:59 PM, Tim Roberts wrote: >> >> Yes. The one critical piece of information you did not supply here is >> that you are running 64-bit Windows 7. That's the root of the problem. > Quick question, How did you know this? It was the only explanation th

Re: [python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-22 Thread David Hutto
On Wed, Feb 22, 2012 at 12:59 PM, Tim Roberts wrote: > David Hutto wrote: >> initiates the START command, which means it works, but not on command >> line when using SoundRecorder which is in the system32 dir. I thought >> it might be a directory placement problem, but don't know if that >> would

Re: [python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-22 Thread David Hutto
On Wed, Feb 22, 2012 at 12:59 PM, Tim Roberts wrote: > David Hutto wrote: >> initiates the START command, which means it works, but not on command >> line when using SoundRecorder which is in the system32 dir. I thought >> it might be a directory placement problem, but don't know if that >> would

Re: [python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-22 Thread Tim Roberts
David Hutto wrote: > initiates the START command, which means it works, but not on command > line when using SoundRecorder which is in the system32 dir. I thought > it might be a directory placement problem, but don't know if that > would be the correct way to fix it, or if that's even the problem.

Re: [python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-22 Thread Preston Landers
I thought "start" wasn't an actual executable but rather a builtin command of the cmd.exe shell. Have you tried something like: scope = subprocess.Popen([r'cmd.exe', '/c start SoundRecorder'],shell = True, stdout=subprocess.PIPE) regards, Preston On Wed, Feb 22, 2012 at 1:09 AM, David Hutto wr