On samedi 16 août 2008, joshiggins wrote:
> I'm making a menu replacement which I will call from a launcher on the xfce
> panel, and if it doesnt exit after starting the selected program it will
> still be running, then pressing the launcher again will make two menu
> processes, but only 1 will be visible to the user. This is my problem.
>
> My gambas program strangely doesnt exit when the process it started exits.
> Is this normal behaviour?
>

It depends. As I explained, your launcher is the parent process of the started 
programs, so it is waiting for the end of its children. When all its children 
have terminated, the parent will end. Otherwise, it means than some watched 
file descriptor (a process, a pipe) or a window is already opened in your 
program.

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to