Run <path to release candidate.app> <image> one two three four
. In my case:
`
Then evaluate:
| i a |
i := 0.
a := Smalltalk getSystemAttribute: i.
[a notNil] whileTrue: [
Transcript showln: { i. a}.
i := i + 1.
a := Smalltalk getSystemAttribute: i ].
The transcript logs all command line arguments:
#(0 '/Users/eze/.local/src/Smalltalk/OpenSmalltalk/SqueakStable.app/Contents/MacOS/Squeak')
#(1 '/Users/eze/.local/src/Smalltalk/Squeak/Squeak6.0-22104-64bit.image')
#(2 'one')
#(3 'two')
#(4 'three')
#(5 'four')
The transcript logs only the vm executable and the image
#(0 '/Users/eze/.local/src/Smalltalk/OpenSmalltalk/SqueakRC.app/Contents/MacOS/Squeak')
#(1 '/Users/eze/.local/src/Smalltalk/Squeak/Squeak6.0-22104-64bit.image')
Tested in both Cuis and Squeak.
Might be related to #655.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.