tcrabtree
29th January 2003, 00:07
I am having trouble finding a good example of the function pipe.open(), as well as the related functions pipe.write(), pipe.read() and pipe.flush(). Could someone post a short example?
maximus
29th January 2003, 08:00
Hi,
I could write up some examples for you, but can you give me some more info to the purpose for introducing ipc. You could alternatively use messages , but that depends on your requirment.
regards
Max
tcrabtree
29th January 2003, 15:31
Our system is extremely customized. We have a PostgreSQL database which contains model specific information, such as serial numbers, run rates, etc. which runs independently of Baan.
I wrote a small Perl script to connect to the PostgreSQL db via sockets. It passes command line input as <STDIN> to the PostgreSQL server and receives <STDOUT> from the socket.
I'd like to use pipe.open() as well as pipe.flush(), pipe.read() and pipe.write() to call the perl script, but I cannot find any decent examples. The Baan documentation we have has very little information on pipe.open() and the other functions.
I just need to see a working example. Thanks.