mirror of
https://github.com/beego/bee.git
synced 2025-07-13 06:21:02 +00:00
CR change
This commit is contained in:
@ -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, " "))
|
||||
|
Reference in New Issue
Block a user