Login  Register

Re: Shell>>create ; show

Posted by Chris Uppal-3 on Jul 02, 2006; 9:41am
URL: https://forum.world.st/Shell-create-show-tp3379287p3379297.html

Günther,

> Well it's not working, because just about any when:#opened #activated or
> whatever seemed right is already triggered at "Shell create" time.
>
> What would be the right code?

I haven't tried tracing though (too hot), but I remember that creating shells
is not very well factored to allow you to put code "inside" the operation.  (I
asked once for it to be opened up a bit).  So I think you'll just have to hack
it by calling the appropriate (most likely private) methods.

Alternatively, refactor so that the shell creates its own semaphore which your
external code then waits on.  Without knowing what you are doing, my guess is
that that is the better option.

    -- chris