summaryrefslogtreecommitdiff
path: root/Mac/OSX/PythonLauncher/FileSettings.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-17 15:40:00 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-02-17 15:40:00 +0000
commit3d3b74677a440b00d94b6b4e71e7f2f97800c427 (patch)
tree2c4a5eb90f1774999dad3f4127fffa52704a4b0d /Mac/OSX/PythonLauncher/FileSettings.h
parent996acf122dbf8d9aa694a16a32ced065f5805cd2 (diff)
downloadcpython-git-3d3b74677a440b00d94b6b4e71e7f2f97800c427.tar.gz
Optionally honour #! paths in scripts. Fixes #676358.
Diffstat (limited to 'Mac/OSX/PythonLauncher/FileSettings.h')
-rwxr-xr-xMac/OSX/PythonLauncher/FileSettings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/OSX/PythonLauncher/FileSettings.h b/Mac/OSX/PythonLauncher/FileSettings.h
index 80c11f1e52..f70b05f518 100755
--- a/Mac/OSX/PythonLauncher/FileSettings.h
+++ b/Mac/OSX/PythonLauncher/FileSettings.h
@@ -10,6 +10,7 @@
@protocol FileSettingsSource
- (NSString *) interpreter;
+- (BOOL) honourhashbang;
- (BOOL) debug;
- (BOOL) verbose;
- (BOOL) inspect;
@@ -24,6 +25,7 @@
{
NSString *interpreter; // The pathname of the interpreter to use
NSArray *interpreters; // List of known interpreters
+ BOOL honourhashbang; // #! line overrides interpreter
BOOL debug; // -d option: debug parser
BOOL verbose; // -v option: verbose import
BOOL inspect; // -i option: interactive mode after script