+2006-11-30 Christopher Faylor <cgf@timesys.com>
+
+ * win/tclWinPipe.c (TclpCreateProcess): Call cygwin-specific routine to
+ set up windows environment.
+
2006-07-13 Steve Ellcey <sje@cup.hp.com>
* configure.in: Fix for autoconf 2.5.
#include <fcntl.h>
#include <io.h>
#include <sys/stat.h>
+#ifdef __CYGWIN__
+#include <sys/cygwin.h>
+#endif
/*
* The following variable is used to tell whether this module has been
BuildCommandLine(execPath, argc, argv, &cmdLine);
+#ifdef __CYGWIN__
+ cygwin_internal (CW_SYNC_WINENV);
+#endif
+
if ((*tclWinProcs->createProcessProc)(NULL,
(TCHAR *) Tcl_DStringValue(&cmdLine), NULL, NULL, TRUE,
(DWORD) createFlags, NULL, NULL, &startInfo, &procInfo) == 0) {