2017-07-26 11:53 GMT+02:00 Sven Van Caekenberghe <sven@stfx.eu>:
On 25 Jul 2017, at 19:46, Cyril Ferlicot D. <cyril.ferlicot@gmail.com> wrote:
Le 25/07/2017 à 19:37, Sven Van Caekenberghe a écrit :
Hi,
User Herby VojÄÃk seems to have an issue with the --headless option on Windows 10
https://pharo.fogbugz.com/f/cases/20271/ZnServer- managedServers-disappear-when-headless-mode-used
I cannot reproduce his problem.
Maybe there are Windows users out there who can have a look and help him ?
Anyone ?
Thx,
Sven
Hi,
I am not sure but I think that in Windows the option to use is not --headless but --nodisplay.
I just tried a bit using Pharo 6.1 on Windows 10 in command line mode (Command Prompt). It seems that apart from starting an image (and executing a .st file) not much else works. I can't get any of the normal Pharo command line handling to work, it feels as if none of the VM flags have any effect. Output is only written to a file. The windows with the World always opens. I can't see a difference between Pharo.exe and PharoConsole.exe
Even the simplest thing like
Pharo.exe Pharo.image eval '1+2'
Doesn't work as expected.
Quite unusable.
Maybe this is not supposed to work ?
Can anyone help a bit here ?
I can not test Windows 10 at the moment, but on windows 7 pharo --headless Pharo6.1.image eval "DateAndTime now" Works, no window opens, and it puts the output of the evaluation in a stdout-file.
-- Cyril Ferlicot https://ferlicot.fr
http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France