[geany/geany] 6af27e: Windows: add a debug to show the command as it is run
Colomban Wendling
git-noreply at xxxxx
Wed Feb 19 14:53:25 UTC 2014
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Wed, 19 Feb 2014 14:53:25 UTC
Commit: 6af27eeb7af7fbb458c93bf98133a6a177014a5e
https://github.com/geany/geany/commit/6af27eeb7af7fbb458c93bf98133a6a177014a5e
Log Message:
-----------
Windows: add a debug to show the command as it is run
Modified Paths:
--------------
src/win32.c
Modified: src/win32.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1052,6 +1052,7 @@ gboolean win32_spawn(const gchar *dir, gchar **argv, gchar **env, GSpawnFlags fl
command = g_strjoinv(" ", argv);
SETPTR(command, g_strdup_printf("cmd.exe /S /C \"%s >%s 2>%s\"",
command, tmp_file, tmp_errfile));
+ geany_debug("WIN32: actually running command:\n%s", command);
g_chdir(dir);
ret = system(command);
/* the command can return -1 as an exit code, so check errno also */
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list