mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-12 03:21:23 +00:00
🩹 Fix prefork test case
This commit is contained in:
parent
7fc4b37dfb
commit
a08de07fd5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user