aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-05 14:42:34 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-05 14:42:34 +0000
commit603aadce3db928d81cd928593f4e6d9b63d5b51c (patch)
treef385fe725b203a906555d7c4a0ba4ab66390b7c1
parent3088bfe41443d1394887dc85f974b4c3405b2395 (diff)
LRN: Mysterious patch. I don't know why calling executable with a dot
forces it to create a new console window (which immediately pops up and grabs the focus, then disappears) for itself, but that is the empirical fact. Removing the dot fixes this VERY annoying W32 bug.
-rw-r--r--src/util/test_common_logging_runtime_loglevels.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c
index b5363f2e21..5c069dc9f1 100644
--- a/src/util/test_common_logging_runtime_loglevels.c
+++ b/src/util/test_common_logging_runtime_loglevels.c
@@ -315,7 +315,12 @@ runone ()
}
proc =
- GNUNET_OS_start_process (NULL, pipe_stdout, "./test_common_logging_dummy",
+ GNUNET_OS_start_process (NULL, pipe_stdout,
+#if MINGW
+ "test_common_logging_dummy",
+#else
+ "./test_common_logging_dummy",
+#endif
"test_common_logging_dummy", NULL);
putenv ("GNUNET_FORCE_LOG=");
putenv ("GNUNET_LOG=");