Home | History | Annotate | Download | only in syscall

Lines Matching full:argv0

232 func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) {
233 if len(argv0) == 0 {
252 // StartProcess assumes that argv0 is relative to attr.Dir,
253 // because it implies Chdir(attr.Dir) before executing argv0.
255 // argv0 relative to the current directory, and, only once the new
257 // for that difference here by making argv0 absolute.
259 argv0, err = joinExeDirAndFName(attr.Dir, argv0)
264 argv0p, err := UTF16PtrFromString(argv0)
335 func Exec(argv0 string, argv []string, envv []string) (err error) {