[Pharo-project] problem running headless with input script on windows 7

Sven Van Caekenberghe sven at beta9.be
Wed Jul 18 11:13:58 EDT 2012


I have not looked at the .zip but did you pass an absolute path to the VM ?
You could also try with a file:// style URL.
I do not know a lot about Windows.
Do you get an error ?
On Linux this works very well.

On 18 Jul 2012, at 17:01, Tudor Girba wrote:

> Hi,
> 
> I am trying to run a Pharo 1.4 image in headless mode with an input
> script on Windows 7, but I cannot manage to do it.
> 
> To reproduce the problem, I setup a little package that includes:
> - the latest pharo 1.4 image
> - the latest CogVM win VM
> - a simple script that only saves and quits the image
> - a simple cmd to start the image with the given file
> 
> You can download it from here:
> https://www.dropbox.com/s/yg3wm10iums5zv6/test-headless-script.zip
> 
> There seem to be two problems:
> 1. even if I specify -headless, the ui still pops up. However, the
> headless mode is clearly on because if I try to quit the image from
> the world menu, it crashes due to the interaction part
> 2. the script is not taken into account
> 
> Can anyone give me some hints of to what I am doing wrong?
> 
> Cheers,
> Doru
> 
> -- 
> www.tudorgirba.com
> 
> "Every thing has its own flow"
> 





More information about the Pharo-dev mailing list