Nov. 25, 2011
8:37 a.m.
Not nice, but works reasonably well. The invoking script "listens" to Pharo generating some output file. Have a look at builder.sh, it does that. Lukas On Friday, 25 November 2011, Sven Van Caekenberghe <sven@beta9.be> wrote:
Hi,
For scripting purposes, I would like to use/control the VM exit status/value (on Linux).
There is SmalltalkImage>>#snapshot:andQuit: but there is nothing there that indicates that one can set the process exit status. Is there a way to do that ?
Has anyone a good idea on how the CogVM could communicate back to its invoking script whether is ran OK or not ?
Thx,
Sven
-- Lukas Renggli (mobile) http://www.lukas-renggli.ch