3 #include "getLocation.h"
7 int main(int argc, char** argv) {
13 printf("WARNING: GHCi invoked via 'ghci.exe' in *nix-like shells (cygwin-bash, in particular)\n");
14 printf(" doesn't handle Ctrl-C well; use the 'ghcii.sh' shell wrapper instead\n");
18 binDir = getExecutablePath();
19 exePath = mkString("%s/ghc.exe", binDir);
20 preArgv[0] = "--interactive";
22 run(exePath, 1, preArgv, argc - 1, argv + 1);