+2009-06-22 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * script.cc (init_run_script): Revert to initializing cmd based on OS
+ type.
+
2009-06-22 Corinna Vinschen <corinna@vinschen.de>
* script.cc (Script::run): Start bash without -c option.
#endif
static std::string sh;
-static const char *cmd = "cmd.exe";
+static const char *cmd;
static void
sanitize_PATH ()
SetEnvironmentVariable ("TERM", "dumb");
SetEnvironmentVariable ("TMP", "/tmp");
- sh = backslash (cygpath ("/bin/bash.exe"));
+ cmd = IsWindowsNT () ? "cmd.exe" : "command.com";
}
class OutputLog