Curiosity gets the better of me

Bob.Cowdery at CGI-Europe.com Bob.Cowdery at CGI-Europe.com
Mon Oct 31 13:22:49 UTC 2005


David T. Lewis wrote:

 

> If you want a Squeak server to talk to your 'C process' through OS

> pipes, you can do this with class PipeableOSProcess. You need to load

> the packages OSProcess and CommandShell from SqueakMap (PipeableOSProcess

> is in the CommandShell package). If your 'C process' interacts with

> the world through stdin and stdout streams, this would be a reasonable

> thing to do. This only works on Unix/Linux, but it would be fine for

> your Linux server.

 

David. I'm not sure this does what I want. I think it only deals with
unnamed OS pipes and not named pipes. However, I think I can treat names
pipes just like they were files except I need to do an fcntl or equiv to
ensure non-blocking reads. Have you, or anybody else done this before?

 

Bob


*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20051031/ca2a5b6c/attachment.htm


More information about the Squeak-dev mailing list