Stef,

I took that as agreement and created 2906.  I don't know how to make it happen, 
but am certainly available for testing on Linux.

Bill


________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Stéphane Ducasse 
[[email protected]]
Sent: Friday, September 03, 2010 3:30 AM
To: [email protected]
Subject: Re: [Pharo-project] Single instance executables

;)

Stef

On Sep 2, 2010, at 11:59 PM, Henrik Sperre Johansen wrote:

> On 02.09.2010 21:45, Schwab,Wilhelm K wrote:
>> Hello all,
>>
>> I realize that I hold an unpopular position on this, but it *will* come back 
>> to haunt us: we need to have a way to warn the user if a second copy of 
>> Pharo is launched.  Random meltdowns and lost work will result from the 
>> current behavior.  Let me be more bold: lost work and random corrrupted 
>> images *are resulting* from the current behavior; they are either 
>> unrecognized, or simply ignored, but it is happening.
>>
>> Is there a way to fix it?  On Windows, I recall creating an OS semaphore 
>> with a given name and if that exists, bail out before the session even gets 
>> going.  We would need a cross-platform way to do that (or at least a 
>> Linux/Mac way to do it - Windows has a mechanism), and then a place to abort 
>> startup early enough to prevent problems.  Any ideas?
>>
>> Bill
> On Windows, it will give you an error that it was unable to open the changes 
> file when you open the second image.
>
> Cheers,
> Henry
>
> PS. I think Steph agrees, given his experience with updates that mysteriously 
> contain seemingly random bits of other methods' source code :)
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to