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 <[email protected]> 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 ].
