Hacker News new | past | comments | ask | show | jobs | submit login

any idea how to port this line of code to work on a MS Windows ruby platform?

    %[sh -c '#{results.join(" | ")}']
~ I've tried a few things but keep getting this: Running: sh -c 'grep -e hello access.log'

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.




Actually that error is being thrown when the shell command hits EventMachine::popen

hmm...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: