Cl /? causes Ohai to loop forever


I had a strange thing happening on a client’s machine. Running Ohai
on his server would just hang. It turned out that he had OpenWatcom
installed on that machine and Ohai was running this command:

cl /?

I am not sure what that does for other cl implementations, but for
OpenWatcom it prints out some lines and then says “Press Enter to
Continue”. That obviously caused the whole process to hang.

Should I file a bug? One fix would be to use the Ruby Timeout
standard lib to wrap the commands:

I could take a look at putting together a patch, but pointers and
thoughts about the need for this are welcome.