yaksnrainbows/kronk — Issue #3: Kronk hangs if run as a Ruby script (as an arg to the Ruby interpreter)
Author: aelien27
Created: 2011-11-29 01:08:26+00:00
State: open

I came across this issue while trying to construct and execute a Kronk command using Node.js' child_process.spawn. I couldn't for the life of me figure out why the call never returned, until I ran 'ps' in a separate shell.

The command (scrubbed) looks like this:

$HOME/.rvm/rubies/ruby-1.8.7-p352/bin/ruby $HOME/.rvm/gems/ruby-1.8.7-p352/bin/kronk 'http://some-url/endpoint?q=some+query&format=JSON' 'http://some-other-url/endpoint?q=some+query&format=JSON' -P JSON

If you run Kronk in this manner, it will hang indefinitely.