From: Eikichi On Date: 2010-03-02T05:51:06+09:00 Subject: IO.popen with Threads Hi everyone, I am trying to use IO.popen in order to put and get messages from a process to its sub-process (according to http://ruby-doc.org/core/classes/IO.html#M002242). I am not experimented and I have two questions about: 1/ Do threads are a good choice, for read and write at the same time (with IO.popen)? Have you got a simple exemple? 2/ I think IO.popen is useful for asynchrone communication. But when I just need to send a message from a process to its sub-process, and wait its answer, how should we do it? (any example is very appreciated) Many thanks -- Posted via http://www.ruby-forum.com/.