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-2.6.5 samples/c.rb
systemu-2.6.4 samples/c.rb
systemu-2.6.3 samples/c.rb
systemu-2.6.2 samples/c.rb
systemu-2.6.1 samples/c.rb
systemu-2.6.0 samples/c.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/samples/c.rb
systemu-2.5.2 samples/c.rb
systemu-2.5.1 samples/c.rb
openvz-1.5 lib/openvz/vendor/systemu/samples/c.rb
systemu-2.5.0 samples/c.rb
openvz-1.4 lib/openvz/vendor/systemu/samples/c.rb
systemu-2.4.2 samples/c.rb
systemu-2.4.1 samples/c.rb
openvz-1.2 lib/openvz/vendor/systemu/samples/c.rb
openvz-1.1 lib/openvz/vendor/systemu/samples/c.rb
systemu-2.4.0 samples/c.rb
systemu-2.3.1 samples/c.rb
systemu-2.3.0 samples/c.rb
systemu-2.2.0 samples/c.rb