diff options
author | Aaron Kalin <akalin@martinisoftware.com> | 2019-04-19 15:26:32 -0500 |
---|---|---|
committer | Aaron Kalin <akalin@martinisoftware.com> | 2019-04-19 15:26:59 -0500 |
commit | 6dde0b1c8645ed2cac9cff9ec7c3e340aa63ca4f (patch) | |
tree | 3e5938ca496b6d9d82625c50111062167f3bd3c7 /README.md | |
parent | a74ad86809b2da0ef69bea1f08464f5ef7de2663 (diff) | |
download | mixlib-shellout-6dde0b1c8645ed2cac9cff9ec7c3e340aa63ca4f.tar.gz |
Misnamed parameter
Signed-off-by: Aaron Kalin <akalin@martinisoftware.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ In addition to the command to run there are other options that can be set to cha Run a command as the `www` user with no extra ENV settings from `/tmp` with a 1s timeout ```ruby - cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :env => nil, :cwd => '/tmp', :timeout => 1) + cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :environment => nil, :cwd => '/tmp', :timeout => 1) cmd.run_command # etc. ``` |