mirror of https://github.com/beego/bee.git
CR change
This commit is contained in:
parent
de86254248
commit
dd4381eda3
|
@ -91,7 +91,7 @@ func (c *customCommand) run() error {
|
|||
switch runtime.GOOS {
|
||||
case "darwin", "linux":
|
||||
args := append([]string{c.Command}, c.Args...)
|
||||
cmd = exec.Command("bash", "-c", strings.Join(args, " "))
|
||||
cmd = exec.Command("sh", "-c", strings.Join(args, " "))
|
||||
case "windows":
|
||||
args := append([]string{c.Command}, c.Args...)
|
||||
cmd = exec.Command("cmd", "/C", strings.Join(args, " "))
|
||||
|
|
Loading…
Reference in New Issue