open4

T

Tim Pease

Hello

I installed open4, but when i tried samples I got the following error:
uninitialized constant fcntl::F_SETFD. why??? please note that I am working
on windows.
Thank in advance

open4 will not work on Windows -- it is a Unix only library.For
Windows there is popen4.

http://rubyforge.org/projects/popen4/

It does the same thing ... but for Windows. Be forewarned that the
possibility of blocking the program on a full pipe is very possible on
the Windows platform. Ara and Tom Pollard had a good discussion about
this last Thanksgiving.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/9379

Blessings,
TwP
 
A

ara.t.howard

open4 will not work on Windows -- it is a Unix only library.For
Windows there is popen4.

http://rubyforge.org/projects/popen4/

It does the same thing ... but for Windows. Be forewarned that the
possibility of blocking the program on a full pipe is very possible on
the Windows platform. Ara and Tom Pollard had a good discussion about
this last Thanksgiving.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/9379

right, and the problem remains. try

gem install systemu

http://rubyforge.org/projects/codeforpeople/
http://codeforpeople.com/lib/ruby/systemu/

regards.

-a
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top