[squeak-dev] Running Squeak fro ma unix shell script file with #! squeak...
David T. Lewis
lewis at mail.msen.com
Tue May 14 01:55:00 UTC 2019
On Sun, May 05, 2019 at 04:51:08PM -0400, David T. Lewis wrote:
> On Sun, May 05, 2019 at 12:48:13PM -0700, tim Rowledge wrote:
> > > On 2019-05-05, at 7:38 AM, Fabio Niephaus <lists at fniephaus.com> wrote:
> > >
> > > Otherwise, `#!/path/to/vm/squeak /path/to/my.image` should work, right?
> > That's what I thought but it doesn't appear to actually do that. I've been
> > looking at https://en.wikipedia.org/wiki/Shebang_(Unix) to try to understand
> > but so far nothing is doing quite what I anticipated. Most annoyingly I
> > can't get any sort of debugging output using the usual -x flag.
> One part of the current problem is that we have somehow broken the script loader:
> URI class>>#basicNew has been deprecated. This class is deprecated. USe one ofthe Url classes instead
> Turning off the "Show deprecation warnings" preference works around that issue.
This is fixed in trunk as of System-dtl.1064, so it should be safe
to turn your deprecation warnings back on again now.
More information about the Squeak-dev