Commit 242fa869 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Use KProcess to start Konsole with a new process id

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1097993
parent bee521c3
......@@ -47,8 +47,8 @@ void DBusTest::initTestCase()
konsoleServices << service;
}
// Create a new Konsole
int result = KToolInvocation::kdeinitExec("konsole");
// Create a new Konsole with a seperate process id
int result = KProcess::execute("konsole");
if (result)
kFatal() << "Unable to exec a new Konsole : " << result;
......
......@@ -26,7 +26,7 @@
#include <QtDBus/QDBusReply>
#include <QTextCodec>
#include <KDebug>
#include <KToolInvocation>
#include <KProcess>
#include <unistd.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment