This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 3vi1
Recipients 3vi1, amaury.forgeotdarc, brian.curtin, sbt
Date 2011-06-07.13:51:33
SpamBayes Score 5.172625e-07
Marked as misclassified No
Message-id <1307454694.58.0.638142926833.issue12262@psf.upfronthosting.co.za>
In-reply-to
Content
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!
History
Date User Action Args
2011-06-07 13:51:343vi1setrecipients: + 3vi1, amaury.forgeotdarc, brian.curtin, sbt
2011-06-07 13:51:343vi1setmessageid: <1307454694.58.0.638142926833.issue12262@psf.upfronthosting.co.za>
2011-06-07 13:51:343vi1linkissue12262 messages
2011-06-07 13:51:333vi1create