in reply to Close window

Does the platon command return before the window is closed? ie. does your perl program continue? Or is it that the second platon process simply refuses to start whilst there's another one in existance?

My guess is that it's the former (which is quite antisocial of platon), and therefore the fix would be to fork platon off into a separate process. Your perl will then continue, and can close the stray window (by whatever method; hopefully Giant is correct ;-) or simply start a second (and third, fourth and fifth, etc.) subprocess going, until the user screams for mercy under all those windows...

--
Tommy
Too stupid to live.
Too stubborn to die.

Replies are listed 'Best First'.
Re: Re: Close window
by harry34 (Sexton) on Aug 20, 2002 at 09:20 UTC
    Basically on opening, platon displays in a dialog window what it is doing (number crunching). Once finished the perl program can only continue onto the next calculation if the dialog window is closed.
    I don't want to open lots of separate windows because I have 100's of files which go through the same calculation. Hence I need to close each new dialog window as it appears.
    I am new to perl, so could all suggestions please be simple as possible.
    thanks harry