Pipes

Grzegorz Dostatni grzegorz at ugrad.cs.ualberta.ca
Sat Sep 9 01:38:11 CEST 2000


Hello..  For a couple of strange reasons I need to rewrite a program in
python.  Everything is fairly easy except for one thing.  The program
needs to run on it's own.  It communicates with the parent through
pipes.  Those pipes are allready created and I get them through
argv.  That's not a problem.  How do I open and read/write to them? Oh,
here's how they look under unix (solaris2.6)
prw-rw-rw-   1 root     other          0 Sep  6 18:30 fifo.11a

(there is a corresponding fifo.11b for writing).  I can't even open them
as files.  Is there a way I can do it?  Right now I'm considering writing
those subs in C and go through all that #$%#$%# (read: stuff) to make it
work??

I need to work with these specs! Can anyone help me?
Greg


########################################################################
Chemistry is physics without thought.
Mathematics is physics without purpose.

"If you want to know what God thinks about money, just look at the people
He gives it to." 
-- Old Irish Saying 

Time is the best teacher. Unfortunately, it kills all its students. 




More information about the Python-list mailing list