
54:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>(<span class="ruby-identifier">cmd</span>)
55:     <span class="ruby-identifier">log</span> <span class="ruby-identifier">cmd</span>
56:     <span class="ruby-identifier">system</span>(<span class="ruby-identifier">cmd</span>) <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">fail</span> <span class="ruby-node">&quot;Command Failed: [#{cmd}]&quot;</span>
57:   <span class="ruby-keyword kw">end</span><