Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Windows: add a debug to show the command as it is run

  • Loading branch information...
commit 6af27eeb7af7fbb458c93bf98133a6a177014a5e 1 parent 5c893e9
@b4n b4n authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/win32.c
View
1  src/win32.c
@@ -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 */
Please sign in to comment.
Something went wrong with that request. Please try again.