[Vm-dev] Re: [Pharo-dev] Headless mode loss of focus under windows 7

Eliot Miranda eliot.miranda at gmail.com
Wed Jul 30 14:51:06 UTC 2014


Hi Vincent,

On Jul 29, 2014, at 11:54 PM, Blondeau Vincent <vincent.blondeau at worldline.com> wrote:

> Hi Eliot,
>  
> I tried with the latest vm from your website (http://www.mirandabanda.org/files/Cog/VM/VM.r3056/cogwin-14.29.3056.zip -> SqueakConsole.exe). But unfortunately the problem is still there…

I'm sorry for having wasted your time!  There must be some code that gets run during startup that shouldn't be when the VM is running headless.  Tracking it down could be done by running a debug VM under gdb in a console window.  I guess the console in which gdb is running will lose focus at the same point.  I don't have time to do this right now, but I'll try soon.  How motivated are you to fix this?

>  
> Vincent
>  
> De : Pharo-dev [mailto:pharo-dev-bounces at lists.pharo.org] De la part de Eliot Miranda
> Envoyé : mardi 29 juillet 2014 21:08
> À : Pharo Development List
> Objet : Re: [Pharo-dev] Headless mode loss of focus under windows 7
>  
> Hi Vincent,
>  
>     use one if the console VMs from my website.  They don't open up another window.  Open up a recent cogwin zip and use SqueakConsole.exe
> 
> Eliot (phone)
> 
> On Jul 29, 2014, at 4:01 AM, Blondeau Vincent <vincent.blondeau at worldline.com> wrote:
> 
> Hello everyone,
>  
> Currently I use a batch script where a moose image (based on pharo) load a model, export some data and close itself without saving and that several times.
>  
> I do it under windows 7 by this kind of loop in a .bat file:
> FOR /L %%i IN (1,1,10) DO (
>                 "Pharo.exe --headless sdco-sa-tooling-ci-5.image eval ‘<tasks>'
> )
>  
> The problem is that at each execution of pharo, I lose focus from the window where I was currently working (a notepad by example).
> How can I do to solve it?
>  
> Thanks in advance!
>  
> Cheers,
>  
> Vincent BLONDEAU
>  
>  
> 
> 
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le  détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
> 
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140730/2fffd21a/attachment.htm


More information about the Vm-dev mailing list