> On 23 Oct 2014, at 21:54, Esteban A. Maringolo <emaring...@gmail.com> wrote:
> 
> 2014-10-23 16:08 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu>:
>> Nah, you can do it way easier:
>> 
>> $ cat run.st
>> NonInteractiveTranscript stdout install.
>> 
>> Transcript show: Smalltalk commandLine arguments; cr.
>> 
>> Smalltalk quitPrimitive.
>> 
>> $ ./pharo Pharo.image run.st 1 2 3
>> #('1' '2' '3')
>> 
>> HTH,
> 
> 
> Utterly concise. Thanks.
> 
> Why do you use the pharo shell script instead of pharo-vm with
> --no-display? Is there any benefit other than having the pwd set to
> the image location? And hence, the argument script should be relative
> to the image.

No particular reason, mostly because I hate adding the --no-display
But yes, I usually bypass the script and use the executable directly.

> Thanks again,

You're welcome.

All this sharing, talking & discussing, even over small issues and style is 
important, we can all learn a lot from each other and save time and money.

Sven


Reply via email to