Code Review
/
packages
/
precise
/
mcollective.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Updated mcollective.init according to OSCI-658
[packages/precise/mcollective.git]
/
lib
/
mcollective
/
vendor
/
systemu
/
samples
/
c.rb
1
#
2
# of course stdin can be supplied too. synonyms for 'stdin' include '0' and
3
# 0. the other stdio streams have similar shortcuts
4
#
5
require 'systemu'
6
7
cat = %q( ruby -e" ARGF.each{|line| puts line} " )
8
9
status = systemu cat, 0=>'the stdin for cat', 1=>stdout=''
10
puts stdout