Re: [Python-au] Processes and pipes; newbie alert

From: Nick Coghlan (ncoghlan_at_iinet.net.au)
Date: 12/30/04


Date: Thu, 30 Dec 2004 15:12:04 +1000
To: Python List <python-list@python.org>

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@email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net


Relevant Pages

  • Re: Named Pipe Question
    ... why are named pipes associated with a file system object, ...
    (comp.unix.programmer)
  • Re: parenthetical grouping
    ... >> i've written a little c program, 'drain'. ... >> the program just copies from src to dst, except upon opening dst (and before ... > Why are you using named pipes and an unnamed pipe at the same time? ...
    (comp.unix.shell)
  • Re: C++ , Java Kommunikation
    ... ich habe zwei Programme, der eine in Java der andere in C++. ... die named pipes sind doch nur unter linux vorhanden. ...
    (de.comp.lang.java)
  • Re: problem with pipes IPC
    ... Named pipes are not part of the \Global namespace. ... "Global\" it is visible across terminal sessions (as used with Fast User ...
    (microsoft.public.vc.mfc)
  • Re: Setting up ODBC
    ... I can ping the server without any problem using both the server name ... machine that is not connecting is setup exactly the same as a machine ... pipes I've search on the internet but all I can seem to find is info ... using named pipes it automanically generate the following pipe name: ...
    (microsoft.public.sqlserver.setup)