Access named pipe in Windows XP



I know this question came up before, but I don't see a clear answer to it.

I want to write to a named pipe from my script, but the "open" function
below doesn't seem to work.

set p [open "\\\\.\\Pipe\\my_test_pipe" w]

However, the open function in Perl works just fine:
open(p, "> \\\\.\\Pipe\\my_test_pipe")

Could anybody shed any light on this?

TIA,
Jim



.



Relevant Pages

  • Re: Access named pipe in Windows XP
    ... the open function in Perl works just fine: ... I use a named pipe with w+ and it seems to be the working combination. ... Prev by Date: ...
    (comp.lang.tcl)
  • Re: Cron Question
    ... I have a script that I need to have it's stdout to the screen and be ... Question for you - for cron and at where is stdin and stdout? ... How you direct the console keyboard input to the named pipe is ... Trog Woolley | trog at trogwoolley dot com ...
    (comp.unix.aix)
  • Re: [opensuse] A question for the BASH gurus
    ... 13 Jul 2008 04:11:50 David Bolt wrote: ... A simple way would be to write a script to do it and just pass the URL ... # and then use it to create named pipe ... parameters to specify output format details if needed. ...
    (SuSE)
  • Re: root privileges from cgi script?
    ... >'exec' family call to start your script, ... >able to use this program to become root on your system. ... The CGI program would just need to connect to ... which would again wait for a message down the named pipe. ...
    (comp.unix.shell)
  • Re: script working like daemon
    ... > Another option is to put together a script to read from a FIFO, ... > your syslog.conf file to include sending messages to the FIFO, ... I understand how to configure the syslogd.conf to put the logs direct ... I created named pipe manually, ...
    (comp.lang.perl.misc)