Currently Pharo runs without a message when started in headless mode: ./pharo Pharo.image However I would expect it to give a feedback, so it would behave like this: ./pharo Pharo.image --help AFAIK seaside doesn't have a command line handler yet ;), but how would you guys perceive it if - there is a a help message printed, - the image stops if there are no commands provided? We can add a --no-quit option to the default command line handler so the image continues running with whatever service there is.
Hi Camillo, On 26 May 2013, at 13:57, Camillo Bruni <camillobruni@gmail.com> wrote:
Currently Pharo runs without a message when started in headless mode:
./pharo Pharo.image
However I would expect it to give a feedback, so it would behave like this:
./pharo Pharo.image --help
AFAIK seaside doesn't have a command line handler yet ;), but how would you guys perceive it if
- there is a a help message printed, - the image stops if there are no commands provided?
We can add a --no-quit option to the default command line handler so the image continues running with whatever service there is.
Yes, but - it might be a bit confusing since a normal image with GUI is started like in the first cmd line - tools that don't print needless information are cool - the -no-quit option is useful in the eval case as well to start a server/service Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
On 2013-05-26, at 15:45, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hi Camillo,
On 26 May 2013, at 13:57, Camillo Bruni <camillobruni@gmail.com> wrote:
Currently Pharo runs without a message when started in headless mode:
./pharo Pharo.image
However I would expect it to give a feedback, so it would behave like this:
./pharo Pharo.image --help
AFAIK seaside doesn't have a command line handler yet ;), but how would you guys perceive it if
- there is a a help message printed, - the image stops if there are no commands provided?
We can add a --no-quit option to the default command line handler so the image continues running with whatever service there is.
Yes, but
- it might be a bit confusing since a normal image with GUI is started like in the first cmd line - tools that don't print needless information are cool
I took care of that in UI mode it - doesn't print anything on the command line - continues running and in headless mode - it prints --help - it quits unless there is --no-quit
- the -no-quit option is useful in the eval case as well to start a server/service
added that as well in the same refactoring. Maybe you can have a look at it? https://pharo.fogbugz.com/default.asp?10759 with its proper SLICE in the inbox.
participants (2)
-
Camillo Bruni -
Sven Van Caekenberghe