Lines Matching refs:file
380 execvpe(options->file, options->args, environ);
382 execvp(options->file, options->args);
466 * the file actions
665 if (options->file == NULL)
674 /* If options->file contains a slash, posix_spawn/posix_spawnp should behave
678 if (strchr(options->file, '/') != NULL) {
680 err = posix_spawn(pid, options->file, actions, attrs, options->args, env);
697 k = strnlen(options->file, NAME_MAX + 1);
704 /* Compose the new process file from the entry in the PATH
705 * environment variable and the actual file name */
718 memcpy(b + (z - p) + (z > p), options->file, k + 1);
720 /* Try to spawn the new process file. If it fails with ENOENT, the
721 * new process file is not in this PATH entry, continue with the next
773 /* Try to spawn options->file resolving in the provided environment
783 /* In an error situation, the attributes and file actions are
950 assert(options->file != NULL);