Logo Search packages:      
Sourcecode: q4wine version File versions  Download package

bool corelib::killWineServer ( const QString  prefix_path  )  const

This function kills wineserver.

prefix_path Prefix name.
Return an list of cdrom devices.

Definition at line 1383 of file q4wine-lib.cpp.

References showError().

                  QString command;

                  if (!prefix_path.isEmpty()){
                        command=QString("env WINEPREFIX=\"%1\" wineserver -kill").arg(prefix_path);
                  } else {
                        command="wineserver -kill";

                  if (system(command.toAscii().data())==-1){
                        this->showError(QObject::tr("Can't run: %1").arg(command.toAscii().data()));
                        return false;

                  return true;

Generated by  Doxygen 1.6.0   Back to index