Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sat, 11 Jul 2015 20:14:25 UTC Commit: 6c753e591befda8eefe51f4ca3a4f7b8111c5e36 https://github.com/geany/geany/commit/6c753e591befda8eefe51f4ca3a4f7b8111c5e...
Log Message: ----------- filebrowser: Use Spawn module to launch the external command
This makes the command syntax consistent with other Geany ones and more native on Windows.
Modified Paths: -------------- plugins/filebrowser.c
Modified: plugins/filebrowser.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -477,7 +477,7 @@ static void open_external(const gchar *fname, gboolean dir_found)
cmd = g_string_free(cmd_str, FALSE); locale_cmd = utils_get_locale_from_utf8(cmd); - if (! g_spawn_command_line_async(locale_cmd, &error)) + if (! spawn_async(NULL, locale_cmd, NULL, NULL, NULL, &error)) { gchar *c = strchr(cmd, ' ');
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).