Open felixbuenemann opened 7 years ago
@felixbuenemann Sounds good to me. Thanks for your research here.
@rtomayko I've removed all my comments regarding $?
and created a separate issue #82, so it would be great if you could do the same to avoid confusion.
The MRI
Kernel.system
method returnsnil
if the command could not be found, butPOSIX::Spawn.system
returnsfalse
.Simple test:
Output:
Looking at the source this should be a one-line fix.