Re: [java-gnome-hackers] Remove the org.gnu.gnome.Execute class?
Brought to you by:
afcowie
From: Tom B. <Tom...@Su...> - 2002-10-20 17:16:17
|
I heartily agree (not that my vote counts for much yet :-). While the documentation for Execute's async and shell methods suggests they have unique capabilities, a quick grep of the Gnome source code shows that they both are used for the same purpose as Runtime.exec(s), often interchangably (g_get_home gets called a lot using both, for example). As someone who has had to maintain APIs that promised all things to all users, I've learned the hard way to just provide the minimum and then see who complains and why. A smaller API is also easier to learn and use appropriately. Tom On Sun, 2002-10-20 at 07:28, Philip A. Chapman wrote: > Everyone, > > Now that three people have done some work on the Execute class, I think > we should delete it. :-) I base this opinion on a conversation we had > on this list (See the thread started with subject Gnome2.defs Aug 10, > 2002). Execute's async and shell methods duplicate functionality > provided by the java.lang.Runtime.exec methods. I wish I would have > remembered this conversation last night before I worked on it, but > that's the way it works. > > Note, I have not yet deleted the class in case someone is aware of > functionality the Execute's methods afford us that the Runtime's does > not. > > Thanks, > -- > Philip A. Chapman |