ok just found out that when you send an .st file in the arguments the default behaviour is inverted Beware! It seems we have our very own Smalltalk Experience Gremlins messing around =/ sebastian o/ PD: this works as one would expect: pharo-vm-nox some.image ImageBuilder.st âquit=true save awesome.image âdelete-old On Feb 18, 2014, at 11:27 AM, Sebastian Sastre <SEBASTIAN@FLOWINGCONCEPT.COM> wrote:
Hi there,
can someone clarify this for me?
lets say you execute in the terminal:
pharo-vm-nox some.image save awesome.image âdelete-old
it starts, saves the image and deletes the old one and quits returning control to terminal
but if you do:
pharo-vm-nox some.image ImageBuilder.st save awesome.image âdelete-old
it stays forever open
I was taking a look at this but what is âquitâ option? can someone explain the behaviour of this please?
STCommandLineHandler>>end | quit |
quit := self commandLine hasOption: 'quit'.
(self commandLine hasOption: 'save') ifTrue: [ Smalltalk snapshot: true andQuit: quit ].
quit ifTrue: [ self exitSuccess ].