diff Mac/OSX/PythonLauncher/FileSettings.h @ 27913:cdb1abc1b409 legacy-trunk

Optionally honour #! paths in scripts. Fixes #676358.
author Jack Jansen <jack.jansen@cwi.nl>
date Mon, 17 Feb 2003 15:40:00 +0000
parents b204b4a72b4e
children 1aa9057c38b4
line wrap: on
line diff
--- a/Mac/OSX/PythonLauncher/FileSettings.h	Mon Feb 17 14:51:41 2003 +0000
+++ b/Mac/OSX/PythonLauncher/FileSettings.h	Mon Feb 17 15:40:00 2003 +0000
@@ -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