Cool, working now. Thanks Sven! :) 2014-05-02 12:15 GMT+02:00 Sven Van Caekenberghe <sven@stfx.eu>:
Try
$ ./pharo Pharo.image printVersion [version] 3.0 #30845
$ ./pharo Pharo.image eval --no-quit '42 factorial' 1405006117752879898543142606244511569936384000000000
it keeps the image running after printing the result of the expression.
On 02 May 2014, at 11:56, Bernat Romagosa <tibabenfortlapalanca@gmail.com> wrote:
Hi list,
Is there a way to issue commands to an image via pharo-vm-nox on a headless server and not have it stop immediately after running them?
This keeps the image running, but the command is not sent to it:
pharo-vm-nox StarUOCs.image --no-quit eval "Transcript show: 'hi'"
This is working, but the image quits after the command is run:
pharo-vm-nox StarUOCs.image eval "Transcript show: 'hi'"
Thanks! Bernat.
-- Bernat Romagosa.
-- Bernat Romagosa.