You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the source this should be a one-line fix.
The text was updated successfully, but these errors were encountered:
felixbuenemann
changed the title
POSIX::Spawn.system wrong return values for missing commands
POSIX::Spawn.system wrong return values and stale $? for missing commands
May 16, 2017
@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.
The text was updated successfully, but these errors were encountered: