Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for forkExec (0.08 sec)

  1. src/syscall/exec_plan9.go

    		close(waitc)
    	}()
    	ret := <-forkc
    	return ret.pid, ret.err
    }
    
    // Combination of fork and exec, careful to be thread safe.
    func ForkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) {
    	return startProcess(argv0, argv, attr)
    }
    
    // StartProcess wraps [ForkExec] for package os.
    func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/plugin_test.go

    }
    
    func TestForkExec(t *testing.T) {
    	// Issue 38824: importing the plugin package causes it hang in forkExec on darwin.
    	globalSkip(t)
    
    	t.Parallel()
    	goCmd(t, "build", "-o", "forkexec.exe", "./forkexec/main.go")
    
    	for i := 0; i < 100; i++ {
    		cmd := testenv.Command(t, "./forkexec.exe", "1")
    		err := cmd.Run()
    		if err != nil {
    			if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/syscall/mkall.sh

    # 	func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr);
    #
    # The first and second are the standard ones; they differ only in
    # how many arguments can be passed to the kernel.
    # The third is for low-level use by the ForkExec wrapper;
    # unlike the first two, it does not call into the scheduler to
    # let it know that a system call is running.
    #
    # * syscall_${GOOS}.go
    #
    # This hand-written Go file implements system calls that need
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 18:22:23 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top