Sha256: a0823b86ef48918308890b4dd82aa129c9fa53f6b0b66bc6cd6e42a5d113c144
Contents?: true
Size: 394 Bytes
Versions: 24
Compression:
Stored size: 394 Bytes
Contents
# # systemu can be used on any platform to return status, stdout, and stderr of # any command. unlike other methods like open3/popen4 there is zero danger of # full pipes or threading issues hanging your process or subprocess. # require 'systemu' date = %q( ruby -e" t = Time.now; STDOUT.puts t; STDERR.puts t " ) status, stdout, stderr = systemu date p [ status, stdout, stderr ]
Version data entries
24 entries across 24 versions & 4 rubygems