[squeak-dev] Instruments for headless images

Chris Muller asqueaker at gmail.com
Thu Jan 20 21:42:30 UTC 2011


> ohh.. well, but that is too much for a simple script.
> it would be good if image could provide something by default,
> because i don't want to repeat expressions like this in each script i
> write for running it in headless image. :)

Hm, you may have missed that the point of that was to _avoid_
repeating those expressions.  That way, this is all your .st script
has to be:

    CommandLineProcessor do: [ : arg1 : arg2 | "... your simple script
goes here..." ]

So that's not so much is it?  All of the error-handling to stdout is
tucked away in the image, as is the parsing of the command-line
arguments.

 - Chris



More information about the Squeak-dev mailing list