Lines Matching refs:argv

192 extern int start_remote_job PARAMS ((char **argv, char **envp, int stdin_fd,
975 char *argv; in start_job_command() local
977 char **argv; in start_job_command() local
1019 argv = p; in start_job_command()
1021 argv = construct_command_argv (p, &end, child->file, &child->sh_batch_file); in start_job_command()
1036 if (argv != 0 && question_flag && !(flags & COMMANDS_RECURSE)) in start_job_command()
1039 free (argv[0]); in start_job_command()
1040 free ((char *) argv); in start_job_command()
1052 if (argv) in start_job_command()
1054 free (argv[0]); in start_job_command()
1055 free ((char *) argv); in start_job_command()
1058 argv = 0; in start_job_command()
1061 if (argv == 0) in start_job_command()
1108 (argv[0] && !strcmp (argv[0], "/bin/sh")) in start_job_command()
1110 && (argv[1] in start_job_command()
1111 && argv[1][0] == '-' && argv[1][1] == 'c' && argv[1][2] == '\0') in start_job_command()
1112 && (argv[2] && argv[2][0] == ':' && argv[2][1] == '\0') in start_job_command()
1113 && argv[3] == NULL) in start_job_command()
1115 free (argv[0]); in start_job_command()
1116 free ((char *) argv); in start_job_command()
1126 free (argv[0]); in start_job_command()
1127 free ((char *) argv); in start_job_command()
1188 if (start_remote_job (argv, child->environment, in start_job_command()
1218 if (!child_execute_job (argv, child)) { in start_job_command()
1241 argv, child->environment); in start_job_command()
1279 argv, child->environment); in start_job_command()
1306 char *cmdline = argv[0]; in start_job_command()
1319 cmdline = argv[2]; /* get past "shell -c" */ in start_job_command()
1330 proc_return = spawnvpe (P_WAIT, argv[0], argv, child->environment); in start_job_command()
1350 amiga_status = MyExecute (argv); in start_job_command()
1366 arg0 = argv[0]; in start_job_command()
1375 hPID = process_easy(argv, child->environment); in start_job_command()
1385 for (i = 0; argv[i]; i++) in start_job_command()
1386 fprintf(stderr, "%s ", argv[i]); in start_job_command()
1404 free (argv[0]); in start_job_command()
1405 free ((char *) argv); in start_job_command()
1897 child_execute_job (int stdin_fd, int stdout_fd, char **argv, char **envp) in child_execute_job() argument
1931 pid = exec_command (argv, envp); in child_execute_job()
1960 child_execute_job (int stdin_fd, int stdout_fd, char **argv, char **envp) in child_execute_job() argument
1972 exec_command (argv, envp); in child_execute_job()
1987 exec_command (char **argv, char **envp) in exec_command() argument
1995 execve (argv[0], argv, envp); in exec_command()
1996 perror_with_name ("execve: ", argv[0]); in exec_command()
2009 hPID = process_easy(argv, envp); in exec_command()
2018 for (i = 0; argv[i]; i++) in exec_command()
2019 fprintf(stderr, "%s ", argv[i]); in exec_command()
2065 pid = spawnvpe (P_NOWAIT, argv[0], argv, envp); in exec_command()
2078 execvp (argv[0], argv); in exec_command()
2085 error (NILF, _("%s: Command not found"), argv[0]); in exec_command()
2110 while (argv[argc] != 0) in exec_command()
2130 new_argv[i] = argv[0]; in exec_command()
2133 new_argv[i + argc] = argv[argc]; in exec_command()
2159 perror_with_name ("execvp: ", argv[0]); in exec_command()
2172 void exec_command (char **argv) in exec_command() argument
2174 MyExecute (argv); in exec_command()
2930 char **argv; in construct_command_argv() local
2951 argv = (char **)malloc (argc * sizeof (char *)); in construct_command_argv()
2952 if (argv == 0) in construct_command_argv()
2965 argv[argc++] = cptr; in construct_command_argv()
3039 argv = construct_command_argv_internal (line, restp, shell, ifs, batch_filename_ptr); in construct_command_argv()
3044 return argv; in construct_command_argv()