Use utils_spawn_sync() instead of g_spawn_sync().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4631 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
6d1b1425bd
commit
eabcdd579f
@ -6,6 +6,8 @@
|
||||
Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
|
||||
* scripts/create_py_tags.py:
|
||||
Make the script a bit more robust with newer Python versions.
|
||||
* src/templates.c:
|
||||
Use utils_spawn_sync() instead of g_spawn_sync().
|
||||
|
||||
|
||||
2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
|
||||
|
@ -758,7 +758,7 @@ static gchar *run_command(const gchar *command, const gchar *file_name,
|
||||
"GEANY_FILETYPE", file_type,
|
||||
"GEANY_FUNCNAME", func_name,
|
||||
NULL);
|
||||
if (! g_spawn_sync(NULL, argv, env, G_SPAWN_SEARCH_PATH,
|
||||
if (! utils_spawn_sync(NULL, argv, env, G_SPAWN_SEARCH_PATH,
|
||||
NULL, NULL, &result, NULL, NULL, &error))
|
||||
{
|
||||
g_warning("templates_replace_command: %s", error->message);
|
||||
|
Loading…
x
Reference in New Issue
Block a user