$ git clone http://tcclient.ion.nu/tc_client.git
commit 5428de5f9e46e5f15730e8670a5e2b9f5b223f52
Author: Alicia <...>
Date:   Sat Feb 13 15:05:51 2016 +0100

    tc_client-gtk: windows compat: don't try to run empty commands.

diff --git a/ChangeLog b/ChangeLog
index 44a3ee5..3b8f893 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 0.38:
 Makefile: added missing sourcefiles for the tarball target.
 tc_client-gtk: if HOME is not set use "." instead.
+tc_client-gtk: windows compat: don't try to run empty commands.
 0.37:
 Reimplemented announcement of moderators.
 Reimplemented announcement of people cammed up when joining.
diff --git a/utilities/gtk/compat.h b/utilities/gtk/compat.h
index 583edb7..9165de2 100644
--- a/utilities/gtk/compat.h
+++ b/utilities/gtk/compat.h
@@ -20,6 +20,7 @@
 extern SECURITY_ATTRIBUTES sa;
 #define kill(pid, x) TerminateProcess(pid, 0)
 #define w32_runcmd(cmd) \
+  if(cmd[0]) \
   { \
     char* arg=strchr(cmd,' '); \
     if(arg){arg[0]=0; arg=&arg[1];} \