Squeak scripts in UNIX
Bert Freudenberg
bert at freudenbergs.de
Tue Feb 13 20:22:58 UTC 2007
On Feb 13, 2007, at 18:04 , Lex Spoon wrote:
> Is there any legacy we need to worry about whatsoever?
The only thing I can think of is when running as browser plugin, you
should keep the "old" project launcher in place for that. The plugin
will give an empty argument as script, so that's easy to distinguish.
The harder part is that there is no concept of a current working
directory in Squeak. To find the script, you need to convert a
relative path to the absolute one using cwd. This can either be done
in the shell script, or one could abuse the SecurityPlugin which
listens to environment variables ... or extend the VM ... or use
OSProcess ...
- Bert -
More information about the Squeak-dev
mailing list
|