summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout.rb
diff options
context:
space:
mode:
authorHo-Sheng Hsiao <hosheng.hsiao@gmail.com>2012-03-26 14:30:14 -0400
committerHo-Sheng Hsiao <hosheng.hsiao@gmail.com>2012-03-26 14:30:14 -0400
commit7a3848055b98e55c5d4c4562202c16ada4dfbe03 (patch)
tree81203b296931584eb6dd8a891d4ba76a83e9583d /lib/mixlib/shellout.rb
parent96b71e70ae1f528b2ec2d81f4aa3bdccfe811c25 (diff)
downloadmixlib-shellout-7a3848055b98e55c5d4c4562202c16ada4dfbe03.tar.gz
[CHEF-2994][STDIN] Option :input should be set to nil by default
Diffstat (limited to 'lib/mixlib/shellout.rb')
-rw-r--r--lib/mixlib/shellout.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb
index 9906372..94ea6c9 100644
--- a/lib/mixlib/shellout.rb
+++ b/lib/mixlib/shellout.rb
@@ -55,6 +55,11 @@ module Mixlib
# the command's output will be echoed to STDOUT.
attr_accessor :live_stream
+ # ShellOut will push data from :input down the stdin of the subprocss.
+ # Normally set via options passed to new.
+ # Default: nil
+ attr_accessor :input
+
# If a logger is set, ShellOut will log a message before it executes the
# command.
attr_accessor :logger