Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.1154.mcz==================== Summary ====================
Name: System-eem.1154
Author: eem
Time: 19 January 586155, 1:08:16.564616 am
UUID: 774a2409-d212-1a47-8988-0250ab5f13d2
Ancestors: System-mt.1153
Spelling in a class comment
=============== Diff against System-mt.1153 ===============
Item was changed:
Object subclass: #AbstractLauncher
instanceVariableNames: 'parameters'
classVariableNames: ''
poolDictionaries: ''
category: 'System-Support'!
+ !AbstractLauncher commentStamp: 'eem 1/19/586155 01:04' prior: 0!
+ The class AutoStart in combination with the Launcher classes provides a mechanism for starting Squeak from the command line or a web page. Parameters on the command line or in the embed tag in the web page a parsed and stored in the launcher's parameter dictionary.
- !AbstractLauncher commentStamp: 'mt 8/14/2016 10:08' prior: 0!
- The class AutoStart in combination with the Launcher classes provides a mechanism for starting Squeak from the command line or a web page. Parameters on the command line or in the embed tag in the web page a parsed and stored in the lauchner's parameter dictionary.
Subclasses can access these parameters to determine what to do.
CommandLineLauncherExample provides an example for a command line application. if you start squeak with a command line 'class Integer' it will launch a class browser on class Integer.
To enable this execute
CommandLineLauncherExample activate
before you save the image.
To disable execute
CommandLineLauncherExample deactivate
The PluginLauncher is an example how to use this framework to start Squeak as a browser plugin. It looks for a parameter 'src' which should point to a file containing a squeak script.!