Hi all !
I'm trying to launch a program (any... if only one function that will be nice )
myprocess.startDetached("cmd.exe");
myprocess.waitForStarted(100000);
QProcess myprocess;
myprocess.startDetached("cmd.exe");
myprocess.waitForStarted(100000);
QMessageBox::information(0,"","");
To copy to clipboard, switch view to plain text mode
With this code I have directly the message box but I never saw the cmd.exe prompt (win xp)... what's going wrong please (I'm looking for hours...)
Thanks !
edit:
I also tried this :
QString sbrowser
= "C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE";
qsl.push_back("http://www.google.com");
int tmp = pbrowser.startDetached(sbrowser, qsl);
QString sbrowser = "C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE";
QStringList qsl;
QProcess pbrowser;
qsl.push_back("http://www.google.com");
int tmp = pbrowser.startDetached(sbrowser, qsl);
To copy to clipboard, switch view to plain text mode
(of course it didn't work...)
Bookmarks