next up previous index
Next: Limitations Up: Saving States Previous: Saved Execution States

Invoking Saved States Directly

Under UNIX, ECLiPSe saved states can also be called directly, as if they were executable files.     This is completely equivalent to the use of the -r option.

[eclipse 1]: save(saved_state), writeln(hello).
hello

yes.
[eclipse 2]: ^D
bye
usr% saved_state
hello

yes.
[eclipse 3]:
Note that you use this mechanism whenever you invoke the normal ECLiPSe command, since it is in fact a saved program state. By default, the saved states are executable scripts for /bin/sh. An alternative shell may be specified in the environment variable ECLIPSESHELL.  



Micha Meier
Mon Mar 4 12:11:45 MET 1996