Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/syscall/exec_windows_test.go

    	}
    	for _, test := range tests {
    		if got := syscall.EscapeArg(test.input); got != test.output {
    			t.Errorf("EscapeArg(%#q) = %#q, want %#q", test.input, got, test.output)
    		}
    	}
    }
    
    func TestChangingProcessParent(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "parent" {
    		// in parent process
    
    		// Parent does nothing. It is just used as a parent of a child process.
    		time.Sleep(time.Minute)
    		os.Exit(0)
    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