On 4 November 2011 18:00, Chris Hughes <89dra...@gmail.com> wrote:
> I am running rails server as a daemon on ubuntu server.
> My controller uses `#{command}` to run a python image processor and
> return the output.
> After several requests and hours of uptime the server stops working
> when it hits this command
> I think something to do with stdout or stderr is to blame, but I'm not
> sure. Anyone have any ideas?

It might be worth changing from using backticks to using IO.popen or
Open3.popen3 - just as a generally preferred method of running system
calls, which might squash your bug at the same time.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to