I did a little research on how to separate a process and found:
YourCommand & disown
or
nohub YourCommand &
(& is for bg)
Regards, Werner(007)
--
View this message in context:
http://www.nabble.com/execute-shell-command-then-exit-tp19013217p19123997.html
Sent from the gambas-user mailing lis
With the shell you should have the possibility to separate a calling process
from parent, or to run as a background process.
I think a usable command could be fork, or call the process with a closing
"&".
This is only meant as guidance, because whether this is quite true ...?
Regards, Werner(007)
OOffice does it like this :
# execute soffice binary
"$sd_prog/$sd_binary" "$@" &
trap 'kill -9 $!' TERM
wait $!
Regads,
Steven
Le samedi 16 août 2008 à 19:30 +0200, Benoit Minisini a écrit :
> On samedi 16 août 2008, joshiggins wrote:
> > I'm making a menu replacement which I will call from
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
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 gam
On samedi 16 août 2008, joshiggins wrote:
> Hello,
>
> I need my gambas program to execute another program then close itself,
> leaving the other program running. Using the SHELL command then Me.Close in
> the startup form doesnt work, my gambas app keeps on running. I have also
> tried using EXEC
Hello,
I need my gambas program to execute another program then close itself,
leaving the other program running. Using the SHELL command then Me.Close in
the startup form doesnt work, my gambas app keeps on running. I have also
tried using EXEC to the same effect. How can this be achieved?
Thank