
Originally Posted by
wysota
Pass the arguments in a form of a string list as a second argument to startDetached().
thanks very much.
i tried what you said as following manner,
but it doesn't work.
At the same time, i have tried "QString program = "/DBusEssential/dbus-daemon.exe". It doesn't work.
could you tell me what's wrong in my code? Thanks a lot.
QString program
= "/DBusEssential/dbus-daemon";
arguments << "--config-file" << "=" << "/DBusEssential/session.conf";
QProcess::startDetached(program,arguments
);
QString program = "/DBusEssential/dbus-daemon";
QStringList arguments;
arguments << "--config-file" << "=" << "/DBusEssential/session.conf";
QProcess::startDetached(program,arguments);
To copy to clipboard, switch view to plain text mode
Bookmarks