Think C mod to suppress pausing at normal exit
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 4b58bb4..980f2ed 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -44,6 +44,10 @@
#include <signal.h>
#endif
+#ifdef THINK_C
+#include <console.h>
+#endif
+
extern char *getpythonpath();
extern grammar gram; /* From graminit.c */
@@ -637,6 +641,10 @@
}
#endif /* TRACE_REFS */
+#ifdef THINK_C
+ if (sts == 0)
+ console_options.pause_atexit = 0;
+#endif
exit(sts);
#endif /* WITH_THREAD */
/*NOTREACHED*/