Previous: Loading or creating an image, Up: Operation


1.2.3 After the image is created or restored

Next, gnu Smalltalk sends the returnFromSnapshot event to the dependents of the special class ObjectMemory (see Memory access). Afterwards, it loads ~/.st/init.st if available.1

You can remember the difference between pre.st and init.st by remembering that pre.st is the pre-snapshot file and init.st is the post-image-load initialization file.

Finally, gnu Smalltalk loads files listed on the command line, or prompts for input at the terminal, as described in Command line arguments.


Footnotes

[1] The same considerations made above hold here too. The file is called _st/init.st under MS-DOS, and is looked for in the current directory under OSes that don't use home directories.