Added a field that allows the user to set sys.argv-style arguments
to the script. Fixes #757544.
diff --git a/Mac/OSX/PythonLauncher/FileSettings.h b/Mac/OSX/PythonLauncher/FileSettings.h
index f70b05f..d807bae 100755
--- a/Mac/OSX/PythonLauncher/FileSettings.h
+++ b/Mac/OSX/PythonLauncher/FileSettings.h
@@ -19,6 +19,7 @@
- (BOOL) tabs;
- (NSString *) others;
- (BOOL) with_terminal;
+- (NSString *) scriptargs;
@end
@interface FileSettings : NSObject <FileSettingsSource>
@@ -33,6 +34,7 @@
BOOL nosite; // -S option: don't import site.py
BOOL tabs; // -t option: warn about inconsistent tabs
NSString *others; // other options
+ NSString *scriptargs; // script arguments (not for preferences)
BOOL with_terminal; // Run in terminal window
FileSettings *origsource;