Colin J. Williams wrote:
Below is a test script:
# tSubProcess.py
import subprocess
import sys
try:
v= subprocess.Popen('ftype py=C:\Python25\Python.exe')
except WindowsError:
print(sys.exc_info())
I'm assuming that you've previously done something like this:
assoc .py=py
and are now t
On Fri, 2009-03-20 at 22:14 -0400, Colin J. Williams wrote:
> Below is a test script:
>
> # tSubProcess.py
>
> import subprocess
> import sys
> try:
>v= subprocess.Popen('ftype
> py=C:\Python25\Python.exe')
> except WindowsError:
>print(sys.exc_info())
>
> Here is the output:
>
> *** P
Below is a test script:
# tSubProcess.py
import subprocess
import sys
try:
v= subprocess.Popen('ftype
py=C:\Python25\Python.exe')
except WindowsError:
print(sys.exc_info())
Here is the output:
*** Python 2.5.4 (r254:67916, Dec 23
2008, 15:10:54) [MSC v.1310 32 bit
(Intel)] on win32. **