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 t...@probo.com 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

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

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 David Hutto
On Wed, Feb 22, 2012 at 12:59 PM, Tim Roberts t...@probo.com 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

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 t...@probo.com 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

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

2012-02-21 Thread David Hutto
Hi, I'm using: Microsoft Windows [Version 6.1.7600](Windows 7) Copyright (c) 2009 Microsoft Corporation. All rights reserved. Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on win32 I've tried numerous methods trying to send a simple command in a shell session.