Re: how to run applications?
Saturday, February 4, 2006 06:48 PM
How to start them programmatically, is that what you mean? presumably there's an executable binary that gets run by your window manager (KDE? Gnome?) when you double click on the icon, so you'll essentially end up doing a Runtime.exec on that executable binary, I think ...
the icon may also do more than just execute the binary, like set the current working directory and maybe some environment variables, so you might have to do all that too?
I guess a well designed application would have that all in a shell script, so you would be able to just run the shell script.