Lispworks vs. pipes

From: Christopher C. Stacy (cstacy_at_news.dtpq.com)
Date: 10/31/04


Date: Sun, 31 Oct 2004 12:10:40 GMT

Does a program started by WIN32::OPEN-PIPE receive as stdin
what you write on the "two-way pipe"? I can successfully read
output coming from the program, but I can't seem to shove any
input down there.

Or, is there another way I should be doing this sort of thing?

I really, really don't want to use temporary files for doing
this communication.



Relevant Pages

  • Re: How does one effect O_NONBLOCK?!
    ... once I've created 3 pipes (for stdout, stderr and stdin) ... child and parent processes and then dup2the 3 descriptors into the ... corresponding ends of the pipes in the child before execve-ing. ... end side of the pipe that's connected to stdin of the child process. ...
    (comp.unix.programmer)
  • Re: man-in-the-middle translation of input
    ... program that spawns the game, forwards its output to stdout, reads my input ... replaces my input by a series of valid game commands. ... write to stdout, I couldn't find a way to read from stdin, preprocess the ... input and feed it through a pipe to the child. ...
    (comp.unix.programmer)
  • Re: Fifo program.
    ... >> Can anyone point me to a simple fifo program? ... >> blocking on stdin. ... If you just put a pipe between them, then it can be 10-20% slower than ...
    (comp.unix.questions)
  • Re: Pipe buffers limit of 16 * 4K
    ... we have a cgi which uses a lib. ... content to the cgi via stdin which, in this case, is a pipe. ... the pipe buffer), take some decisions and then call the lib. ...
    (Linux-Kernel)
  • Re: [patch 3/4] split usermodehelper setup from execution
    ... + * Returns either NULL on allocation failure, ... * exec the process and free the structure. ... * with a pipe as stdin. ...
    (Linux-Kernel)