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 ].

Reply via email to