[Kde-java] KProgressTest program
Kevin Krammer
kde-java@kde.org
Fri, 01 Mar 2002 11:21:26 +0100
Hi Richard!
I am reading the kde-java mailinglit through the nntp gateway so I have
to reply to you vai personal mail.
Hope that's ok with you.
Richard Dale wrote:
> string concatenation really - can't see the point. Perhaps the best
> thing is to remove KProcess from the bindings, as there doesn't seem
> to be anything particularly KDE-specific about starting a process. Is
> there a Java System.exec() or similar that could be used instead?
There is such a method in java.lang.Runtime
http://java.sun.com/products/jdk/1.2/docs/api/index.html
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec(commandString);
Cheers,
Kevin
P.S: excellent work on kde bindings, you rule!
--
Kevin Krammer <voyager@sbox.tu-graz.ac.at>
Student at Graz University of Technology
http://www.sbox.tu-graz.ac.at/home/v/voyager