lib/docman/exec.rb in docman-0.0.5 vs lib/docman/exec.rb in docman-0.0.6
- old
+ new
@@ -1,9 +1,9 @@
module Docman
class Exec
- def Exec.do(cmd)
+ def Exec.do(cmd, output = false)
`#{cmd}`
$?.exitstatus == 0
end
end
\ No newline at end of file