🩹 Fix prefork test case

pull/614/head
Fenny 2020-07-15 15:15:23 +02:00
parent 7fc4b37dfb
commit a08de07fd5
1 changed files with 2 additions and 2 deletions

View File

@ -90,9 +90,9 @@ func (app *App) prefork(addr string, tlsconfig ...*tls.Config) (err error) {
// just start the child process
// a cmd on all os is best
if runtime.GOOS == "windows" {
cmd = exec.Command("cmd", "/C", dummyChildCmd)
cmd = exec.Command("cmd", "/C", "go version")
} else {
cmd = exec.Command(dummyChildCmd)
cmd = exec.Command("date")
}
}
cmd.Stdout = os.Stdout