Jesse Litton <3vi...@gmail.com> added the comment:

Yes, socat was compiled under cygwin.  I'll have to investigate whether I want 
to go the route of cygwin separately or just just leave the script as a pure 
stdin/out filter (since neither I nor the users have the cygwin environment 
installed).

After reading what you said, I re-read the MS notes 
(http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true)
 and finally noticed the 'specific to each tool' text next to the description 
for handles 3-9.
 
Just to be sure, I came up with this simple test:

   echo test 1>&3 | set /P TEST= 0<&3

Which basically squashes my misconception, as it doesn't work.

So, I believe now that what I wanted is beyond the capabilities of the common 
Windows command shell, and this can be closed/invalid as not being a Python 
issue.  I also wish I was home using my Linux box about now.  :)

Thank you all very much for taking the time to help educate me on this!

----------
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12262>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to