Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ParentProcess (0.18 sec)

  1. src/syscall/exec_windows.go

    		if err != nil {
    			return 0, 0, err
    		}
    	}
    
    	p, _ := GetCurrentProcess()
    	parentProcess := p
    	if sys.ParentProcess != 0 {
    		parentProcess = sys.ParentProcess
    	}
    	fd := make([]Handle, len(attr.Files))
    	for i := range attr.Files {
    		if attr.Files[i] > 0 {
    			err := DuplicateHandle(p, Handle(attr.Files[i]), parentProcess, &fd[i], 0, true, DUPLICATE_SAME_ACCESS)
    			if err != nil {
    				return 0, 0, err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 18:29:48 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/syscall/exec_windows_test.go

    	child.Env = append(os.Environ(),
    		"GO_WANT_HELPER_PROCESS=child",
    		"GO_WANT_HELPER_PROCESS_FILE="+childDumpPath)
    	child.SysProcAttr = &syscall.SysProcAttr{ParentProcess: ph}
    	childOutput, err := child.CombinedOutput()
    	if err != nil {
    		t.Errorf("child failed: %v: %v", err, string(childOutput))
    	}
    	childOutput, err = os.ReadFile(childDumpPath)
    	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)
  3. api/go1.17.txt

    pkg syscall (windows-386), func PostQueuedCompletionStatus //deprecated
    pkg syscall (windows-386), type SysProcAttr struct, AdditionalInheritedHandles []Handle
    pkg syscall (windows-386), type SysProcAttr struct, ParentProcess Handle
    pkg syscall (windows-amd64), func CreateIoCompletionPort //deprecated
    pkg syscall (windows-amd64), func GetQueuedCompletionStatus //deprecated
    pkg syscall (windows-amd64), func PostQueuedCompletionStatus //deprecated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SysProcAttr.HideWindow", Field, 0},
    		{"SysProcAttr.Jail", Field, 21},
    		{"SysProcAttr.NoInheritHandles", Field, 16},
    		{"SysProcAttr.Noctty", Field, 0},
    		{"SysProcAttr.ParentProcess", Field, 17},
    		{"SysProcAttr.Pdeathsig", Field, 0},
    		{"SysProcAttr.Pgid", Field, 5},
    		{"SysProcAttr.PidFD", Field, 22},
    		{"SysProcAttr.ProcessAttributes", Field, 13},
    		{"SysProcAttr.Ptrace", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top