"Alan Gauld" <[EMAIL PROTECTED]> wrote

> Oddly I just tried some experiments and I can't get subprocess
> to work with the stdout=PIPE option, it used to...
>
> Anyone have any idea what my obvious mistake is?
>
> Traceback (most recent call last):
>  File "<input>", line 1, in ?
>  File "C:\Python24\lib\subprocess.py", line 533, in __init__
>    (p2cread, p2cwrite,
>  File "C:\Python24\lib\subprocess.py", line 593, in _get_handles
>    p2cread = self._make_inheritable(p2cread)
>  File "C:\Python24\lib\subprocess.py", line 634, in 
> _make_inheritable
>    DUPLICATE_SAME_ACCESS)
> TypeError: an integer is required

Its a PyCrust issue, the code works fine in any of my other shells.
Not sure why PyCrust barfs but it does. I might try posting on
the wxPython list to see if I get an answer...

Alan G 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to