git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62679 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -123,7 +123,7 @@ dbDriver *db_start_driver(const char *name)
/* run the driver as a child process and create pipes to its stdin, stdout */
#ifdef __MINGW32__
-#define pipe(fds) _pipe(fds, 250000, _O_BINARY)
+#define pipe(fds) _pipe(fds, 250000, _O_BINARY | _O_NOINHERIT)
#endif
/* open the pipes */