- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for LookPath (0.39 sec)
-
src/cmd/cgo/internal/swig/swig_test.go
haveSwig = true }) // The first call will skip t with a nice message. On later calls, we just skip. if !haveSwig { t.Skip("swig not found") } } func mustHaveSwigOnce(t *testing.T) { swig, err := exec.LookPath("swig") if err != nil { t.Skipf("swig not in PATH: %s", err) } // Check that swig was installed with Go support by checking // that a go directory exists inside the swiglib directory.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
cmd/service.go
os.Exit(0) } return err } // Use the original binary location. This works with symlinks such that if // the file it points to has been changed we will use the updated symlink. argv0, err := exec.LookPath(os.Args[0]) if err != nil { return err } // Invokes the execve system call. // Re-uses the same pid. This preserves the pid over multiple server-respawns. return syscall.Exec(argv0, os.Args, os.Environ())
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Viewed (0) -
doc/go1.22.html
</p> </dd> </dl><!-- os --> <dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt> <dd> <p><!-- CL 528037 --> On Windows, <a href="/pkg/os/exec#LookPath"><code>LookPath</code></a> now ignores empty entries in <code>%PATH%</code>, and returns <code>ErrNotFound</code> (instead of <code>ErrNotExist</code>) if
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.30.md
([#122697](https://github.com/kubernetes/kubernetes/pull/122697), [@pacoxu](https://github.com/pacoxu)) - Used `errors.Is()` to handle errors returned by `LookPath()`. ([#122600](https://github.com/kubernetes/kubernetes/pull/122600), [@lzhecheng](https://github.com/lzhecheng)) - kube-proxy: Fixed `LoadBalancerSourceRanges` not working for `nftables` mode.
Plain Text - Registered: Fri Apr 26 09:05:10 GMT 2024 - Last Modified: Wed Apr 17 17:56:15 GMT 2024 - 227.9K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} args, err := quoted.Split(value) if err != nil { return nil, err } if len(args) == 0 { return nil, errors.New("CC not set and no default found") } if _, err := exec.LookPath(args[0]); err != nil { return nil, fmt.Errorf("C compiler %q not found: %v", args[0], err) } return args[:len(args):len(args)], nil }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
api/go1.txt
pkg os, var Interrupt Signal pkg os, var Kill Signal pkg os, var Stderr *File pkg os, var Stdin *File pkg os, var Stdout *File pkg os/exec, func Command(string, ...string) *Cmd pkg os/exec, func LookPath(string) (string, error) pkg os/exec, method (*Cmd) CombinedOutput() ([]uint8, error) pkg os/exec, method (*Cmd) Output() ([]uint8, error) pkg os/exec, method (*Cmd) Run() error pkg os/exec, method (*Cmd) Start() error
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)