The first thing that crossed my mind back then was that instead of writing:
aBool := Project spawnNewProcessIfThisIsUI: process.
** Code that runs before "aSuspendedProcess" is actually suspended **
process suspend.

you can change it to:
newUIProcess :=Project newProcessIfThisIsUI: process.
** Old code before process suspend **
[process suspend.
���� newUIProcess ifNotNil: [: uip | uip resume]�� ] fork.

where newProcessIfThisIsUI returns an unresumed version of spawnNewUIProcess, or nil if process wasn't UI process.

Which of course is both ugly and error prone for the senders, and why I hoped someone would come up with a better way.
It did seem to work though, as far as I can remember :)

Cheers,
Henry

On 17.08.2009 18:47, csrabak@bol.com.br wrote:

This is a feature I vote for, too.


Em 17/08/2009 13:14, Schwab,Wilhelm K < bschwab@anest.ufl.edu > escreveu:


Henry,

I'm impressed - that sure sounds like my situation. Do you know what to do about it? :)

This is another situation when it would be nice to have the errors appended to the log vs. replacing the file contents.

Bill


_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project