Oct. 23, 2014
7:54 p.m.
2014-10-23 16:08 GMT-03:00 Sven Van Caekenberghe <sven@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. Thanks again,