Re: [go-nuts] os/exec.Cmd Start cause child process kernel null pointer when exec

2021-10-26 Thread Ian Lance Taylor
On Tue, Oct 26, 2021 at 8:43 AM zongke cui wrote: > > I am not sureļ¼Œ this is bug of golang or bug of the test program ? To me it looks like a bug in the kernel. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this grou

[go-nuts] os/exec.Cmd Start cause child process kernel null pointer when exec

2021-10-26 Thread zongke cui
following is test program: package main import ( "fmt" "os" "os/exec" "syscall" ) func main() { fmt.Printf("Args: %v\n", os.Args) for { f1, _ := os.OpenFile("/tmp/aa", os.O_RDWR|os.O_CREATE, 0755) f2, _ := os.OpenFile("/tmp/bb"