[Python-au] Processes and pipes; newbie alert

Nick Coghlan ncoghlan at iinet.net.au
Thu Dec 30 06:12:04 CET 2004


Jon wrote:
> Obviously I don't need PeekNamedPipe here but I know the pipe has something
> in it and wanted to try it out. The code all works fine if I comment out
> PeekNamedPipe.

The pipes returned by the win32pipe.popen calls are standard file-like objects, 
rather than win32 Named Pipes. The only way I know of to get an actual Named 
Pipe is with CreateNamedPipe.

The folks on the win32 SIG might be able to help you out with more specifics 
about the uses of named pipes.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list