make updates

This commit is contained in:
Henrique Dias committed 2016-06-25 21:57:10 +01:00
1 parent 4274a181a5
commit 669cb2c4ae
32 files changed
+997 -211

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package commands
import (
"os"
"os/exec"
)
// Run executes an external command
func Run(command string, args []string, path string) error {
cmd := exec.Command(command, args...)
cmd.Dir = path
cmd.Stdout = os.Stderr
cmd.Stderr = os.Stderr
return cmd.Run()
}