mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Implement on Win32. Append the executable file name suffixes from PATHEXT
2001-03-01 Tor Lillqvist <tml@iki.fi> * gutils.c(g_find_program_in_path): Implement on Win32. Append the executable file name suffixes from PATHEXT in turn while looking for the program. (g_find_program_in_path): If the program we are looking for is a relative path in a subdirectory, don't do any path search.
This commit is contained in:
committed by
Tor Lillqvist
parent
b6ba941b50
commit
00988d0d76
@@ -1167,7 +1167,7 @@ main (int argc,
|
||||
g_win32_get_package_installation_directory ("gtk20", NULL));
|
||||
|
||||
g_print ("found more.com as %s\n", g_find_program_in_path ("more.com"));
|
||||
g_print ("found regedit.exe as %s\n", g_find_program_in_path ("regedit.exe"));
|
||||
g_print ("found regedit as %s\n", g_find_program_in_path ("regedit"));
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user