2c26e6237ab3da6c6af092c699bd45c0f21e51c7
[packages/precise/mcollective.git] / lib / mcollective / vendor / systemu / samples / e.rb
1 #
2 # any environment vars specified are merged into the child's environment
3 #
4   require 'systemu'
5
6   env = %q( ruby -r yaml -e"  puts ENV[ 'answer' ] " )
7
8   status = systemu env, 1=>stdout='', 'env'=>{ 'answer' => 0b101010 }
9   puts stdout