class SimpleExecutor
Copyright 2008-2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Public Instance Methods
exec(cmd)
click to toggle source
# File lib/simple_executor.rb, line 5 def exec(cmd) puts(cmd) if ! system(cmd) then raise RuntimeError, "Command failed." end end