From 42f9b4e5b4fff45ef4a071112787de6b29a5099a Mon Sep 17 00:00:00 2001 From: Jesse Noller Date: Tue, 31 Mar 2009 22:20:35 +0000 Subject: Issue 5619: Pass MS CRT debug flags into subprocesses --- Python/pythonrun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index d0c5b2bf348..b3866cebb88 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1634,6 +1634,8 @@ void Py_FatalError(const char *msg) { fprintf(stderr, "Fatal Python error: %s\n", msg); + fflush(stderr); /* it helps in Windows debug build */ + #ifdef MS_WINDOWS { size_t len = strlen(msg); -- cgit v1.3.1