From 603aadce3db928d81cd928593f4e6d9b63d5b51c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 5 Nov 2011 14:42:34 +0000 Subject: [PATCH] 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. --- src/util/test_common_logging_runtime_loglevels.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index b5363f2e2..5c069dc9f 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="); -- 2.25.1