Sha256: 4152785bbf5a2c9721b5fb8ec7a26241dd6e48c3ef3f3c8337e2a0be319703bb

Contents?: true

Size: 286 Bytes

Versions: 24

Compression:

Stored size: 286 Bytes

Contents

#
# of course stdin can be supplied too.  synonyms for 'stdin' include '0' and
# 0.  the other stdio streams have similar shortcuts
#
  require 'systemu'

  cat = %q( ruby -e"  ARGF.each{|line| puts line}  " )

  status = systemu cat, 0=>'the stdin for cat', 1=>stdout=''
  puts stdout

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
systemu_j-1.2.1 samples/c.rb
systemu-1.1.0 samples/c.rb
systemu-1.2.0 samples/c.rb
systemu-1.0.0 samples/c.rb