Your IP : 216.73.216.209


Current Path : /usr/share/doc/ruby-systemu/examples/
Upload File :
Current File : //usr/share/doc/ruby-systemu/examples/e.rb

#
# any environment vars specified are merged into the child's environment
#
  require 'systemu'

  env = %q( ruby -r yaml -e"  puts ENV[ 'answer' ] " )

  status = systemu env, 1=>stdout='', 'env'=>{ 'answer' => 0b101010 }
  puts stdout