Searched refs:prog_name (Results 1 – 1 of 1) sorted by relevance
561 static bool is_executed_by_cmd(const char *prog_name) in is_executed_by_cmd() argument564 if (_stricmp("cmd.exe", prog_name) == 0 || _stricmp("cmd", prog_name) == 0 in is_executed_by_cmd()565 || stricmp_end("\\cmd.exe", prog_name) == 0 || stricmp_end("\\cmd", prog_name) == 0) { in is_executed_by_cmd()570 char *last_separator = strrchr(prog_name, '\\'); in is_executed_by_cmd()571 char *last_separator_fwd = strrchr(prog_name, '/'); in is_executed_by_cmd()581 extension = strrchr(prog_name, '.'); in is_executed_by_cmd()584 if (extension == NULL || extension == prog_name) { in is_executed_by_cmd()
Completed in 11 milliseconds