Pipes

Can we Create Pipe between two totally diffrent process ? If yes ,How?
closed account (Dy7SLyTq)
probably, because isnt that what system does? i think it involves something with fork()
The simplest way is to write two separate programs and just pipe them together on the command line

program_1 | program_2

If you are interested in inter-process communication in general. It could be worthwhile to look at unix domain-sockets, since they allow bi-directional communication.
I think you should read Operating systems Design and Implementation book.they explain it well there.Yes, you can.But basically it all depends what do you want to do by piping.
The class features is generically called Interprocess Communication, IPC. There is a variety of actual methods.

This'll get you started.
http://users.actcom.co.il/~choo/lupg/tutorials/multi-process/multi-process.html
Topic archived. No new replies allowed.