update file structure [ci skip]

This commit is contained in:
Henrique Dias committed 2016-03-06 19:18:46 +00:00
1 parent ddcaccda0c
commit 3f36200862
23 files changed
+180 -165

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package commands
import (
"os"
"os/exec"
)
// RunCommand 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()
}