# File lib/posix/spawn.rb, line 254 def system(*args) pid = spawn(*args) return false if pid <= 0 ::Process.waitpid(pid) $?.exitstatus == 0 rescue Errno::ENOENT false end