From: Christian Grothoff Date: Sat, 5 Nov 2011 14:42:34 +0000 (+0000) Subject: LRN: Mysterious patch. I don't know why calling executable with a dot X-Git-Tag: initial-import-from-subversion-38251~16028 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=603aadce3db928d81cd928593f4e6d9b63d5b51c;p=oweals%2Fgnunet.git 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. --- 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=");