Searched refs:prog_name (Results 1 – 1 of 1) sorted by relevance
605 static bool is_executed_by_cmd(const char *prog_name) in is_executed_by_cmd() argument608 if (_stricmp("cmd.exe", prog_name) == 0 || _stricmp("cmd", prog_name) == 0 in is_executed_by_cmd()609 || stricmp_end("\\cmd.exe", prog_name) == 0 || stricmp_end("\\cmd", prog_name) == 0) { in is_executed_by_cmd()614 char *last_separator = strrchr(prog_name, '\\'); in is_executed_by_cmd()615 char *last_separator_fwd = strrchr(prog_name, '/'); in is_executed_by_cmd()625 extension = strrchr(prog_name, '.'); in is_executed_by_cmd()628 if (extension == NULL || extension == prog_name) { in is_executed_by_cmd()
Completed in 9 milliseconds