summaryrefslogtreecommitdiffstats
path: root/Mac/OSX/PythonLauncher/doscript.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-07-31 13:15:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-07-31 13:15:59 (GMT)
commitb7276cdf71d807f4ccdb8b52a309b2b943e31bab (patch)
tree3fcfd48d23b92cc420e11fa8cc65d430e92ce486 /Mac/OSX/PythonLauncher/doscript.h
parent33876f514a2ed2311cf94adb6f4bdb0db9fa6bdd (diff)
downloadcpython-b7276cdf71d807f4ccdb8b52a309b2b943e31bab.zip
cpython-b7276cdf71d807f4ccdb8b52a309b2b943e31bab.tar.gz
cpython-b7276cdf71d807f4ccdb8b52a309b2b943e31bab.tar.bz2
Implemented starting Python in a terminal window. The implementation isn't
optimal, especially if Terminal wasn't running yet, but it works.
Diffstat (limited to 'Mac/OSX/PythonLauncher/doscript.h')
-rw-r--r--Mac/OSX/PythonLauncher/doscript.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Mac/OSX/PythonLauncher/doscript.h b/Mac/OSX/PythonLauncher/doscript.h
new file mode 100644
index 0000000..eef0b56
--- /dev/null
+++ b/Mac/OSX/PythonLauncher/doscript.h
@@ -0,0 +1,12 @@
+/*
+ * doscript.h
+ * PythonLauncher
+ *
+ * Created by Jack Jansen on Wed Jul 31 2002.
+ * Copyright (c) 2002 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#include <Carbon/Carbon.h>
+
+extern int doscript(const char *command); \ No newline at end of file