From: Eleanor McHugh Date: 2010-01-08T22:14:20+09:00 Subject: Re: How to create a pipe file ("mkfifo pipe_file") On 7 Jan 2010, at 16:05, Iņaki Baz Castillo wrote: > Hi, I don't find the appropriate command to create a "pipe" file in Ruby. > Which is the command to behave as system "mkfifo pipe_file"? I see you've been asking a lot of questions over the Xmas break which seem to amount to "how the heck do I tame Unix from Ruby". Whilst they're by no means the full answer, take a look at the "Ruby Plumber's Guide" presentations linked from my sig and google the couple of videos that accompany them (there's one from GoRuCo, another from Rails Underground, and possibly others too). There should be enough between them to give you an idea of how to use Unix system calls from standard Ruby with syscall and Ruby/DL (or with a bit of thought from Ruby/FFI). Also grab yourself a copy of Marc Rochkind's "Advanced Unix Programming" and then spend a few days with the man pages for your favourite Unix distro. Whilst the POSIX calls have the advantage of being fairly portable you'll find most platforms have some cool calls of their own. Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason