2016-11-28 12:54 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
there are two binaries one is pharo-ui that displays the gui and one is pharo that does not use the GUI , because I use pharo and not pharo-ui , i do not need -vm-display-null and does not solve my problem of not exiting��

Then this is strange because, as you remember from the Makefile (and because my line of work is command-line oriented), I use the pharo shell script to run a script and either save the image or not save the image, never opening the window in all cases.

Thierry
��


On Mon, Nov 28, 2016 at 1:25 PM Thierry Goubier <thierry.goubier@gmail.com> wrote:
2016-11-28 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
How to execute a script from command line , then save the image and exit ?

I use the st command but it offers either --save which saves but keeps image opened or --exit the exits the image without saving

./pharo Ephestos.image st --save ��test.st

Use an option like -vm-display-null with -save. There is also a --nodisplay option.

Thierry
��