Lines Matching defs:command
50 CRpid crSpawn( const char *command, const char *argv[] )
58 (void) command;
82 int err = execvp(command, (char * const *) argv);
111 char command[1000];
116 if (!GetModuleFileName( NULL, command, maxLen ))
123 if (crStrstr(command, "\\")) {
124 crStrncpy(name, command+c+1, maxLen);
125 command[c] = 32;
140 char *tmp, command[1000];
152 snprintf(command, sizeof(command), "ps > %s", tmp);
154 sprintf(command, "ps > %s", tmp);
158 snprintf(command, sizeof(command), "ps -e -o 'pid tty time comm'> %s", tmp);
160 sprintf(command, "ps -e -o 'pid tty time comm'> %s", tmp);
163 system(command);