Forum: Ruby on Rails how to call others programs??

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Franz R. (Guest)
on 2007-07-12 11:45
Hello everybody,

I have found a method to call others programs in my controller with a
pipe, like this :

pipe=IO.popen "my command","r"
result=pipe.read
pipe.close

But for some obscur reasons, now that I have install the plugin
backgroundrb to launch tasks in background, this method doesn't work
anymore...

Did someone know why ??

Or did someone know an other method that works to call my programs ( in
C and C++ ) and to get the output of those programs ??

Thank's in advance !

Franz
This topic is locked and can not be replied to.