- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for LookPath (0.27 sec)
-
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())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K 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.
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Oct 23 04:40:14 UTC 2024 - 309.1K 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 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K 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
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)