Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GO_WANT_HELPER_PROCESS_FILE (0.15 sec)

  1. src/syscall/exec_windows_test.go

    		time.Sleep(time.Minute)
    		os.Exit(0)
    	}
    
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "child" {
    		// in child process
    		dumpPath := os.Getenv("GO_WANT_HELPER_PROCESS_FILE")
    		if dumpPath == "" {
    			fmt.Fprintf(os.Stderr, "Dump file path cannot be blank.")
    			os.Exit(1)
    		}
    		err := os.WriteFile(dumpPath, []byte(fmt.Sprintf("%d", os.Getppid())), 0644)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top