[squeak-dev] Running headless on a Mac

Fabio Niephaus lists at fniephaus.com
Wed Apr 27 19:32:11 UTC 2016


What window is still showing up?
Are you sure your absolute path to your .st is correct?

Cheers,
Fabio

-- 

On Sun, Apr 24, 2016 at 3:19 PM Bernhard Pieber <bernhard at pieber.com> wrote:

> Hi Fabio,
>
> Thanks for the tip. However, it does not change the behavior. A window
> always shows and I still get the same errors. Does -headless on OS X work
> for you?
>
> Cheers,
> Bernhard
>
> > Am 24.04.2016 um 14:37 schrieb Fabio Niephaus <lists at fniephaus.com>:
> >
> > Hi Bernhard,
> >
> > The error message indicates that Squeak couldn't find your st file.
> > You have to supply the full path to your test.st, e.g.:
> >
> > CogSpur.r3684.app/Contents/MacOS/Squeak -headless Squeak5.1-15113.image
> $(pwd)/test.st
> >
> > Hope this helps.
> >
> > Best,
> > Fabio
> >
> > --
> >
> > On Sun, Apr 24, 2016 at 2:17 PM Bernhard Pieber <bernhard at pieber.com>
> wrote:
> > Dear Squeakers,
> >
> > Should this work with current CogSpur VMs? I can’t make it work.
> >
> > I can run this and it opens a window shortly, and prints „test" on the
> console:
> > CogSpur.r3684.app/Contents/MacOS/Squeak Squeak5.1-15113.image test.st
> >
> > My test.st looks like this:
> > Smalltalk runAndQuit: [FileStream stdout nextPutAll: ‚test‘; cr]
> >
> > However, if I run the following
> > CogSpur.r3684.app/Contents/MacOS/Squeak -headless my
> Squeak5.1-15113.image test.st
> > I get „Error: No content to install“
> >
> > I also tried this:
> > CogSpur.r3684.app/Contents/MacOS/Squeak -headless Squeak5.1-15113.image
> test.st
> >
> > I get „Syntax Error: UndefinedObject y“, <<<This string contains a
> character (ascii value 25) that is not normally used in code>>> y   @
>  `Argument expected
> >
> > The same happens with an up-to-date trunk image.
> >
> > Any tips?
> >
> > Cheers,
> > Bernhard
> >
> > > Am 01.02.2014 um 20:04 schrieb Eliot Miranda <eliot.miranda at gmail.com
> >:
> > >
> > > Hi Frank,
> > >
> > >    from the command line say e.g.
> > >
> > >    /Applications/Cog.app/Contents/MacOs/Squeak -headless my image.image
> > >
> > > I'll email my startup script, which makes this much more convenient,
> real soon now.
> > >
> > > Eliot (phone)
> >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160427/a9b7ca70/attachment.htm


More information about the Squeak-dev mailing list