Exemplo n.º 1
0
void VersionControl::slotProcessExited()
{
  QString standardOutput = mProcess->readAllStandardOutput();
  dbg() << "SVN STDOUT: " << endl;
  if ( standardOutput.isEmpty() )
    dbg() << "<empty>" << endl;
  else
    dbg() << standardOutput;

  QString standardError = mProcess->readAllStandardError();
  dbg() << "SVN STDERR: " << endl;
  if ( standardError.isEmpty() )
    dbg() << "<empty>" << endl;
  else
    dbg() << standardError;

  if ( mCommand == Commit ) emit commitFinished();
  else if ( mCommand == Update ) emit updateFinished();

  QTimer::singleShot( 0, this, SLOT( destroyProcess() ) );
}
void RemoteLinuxEnvironmentReader::stop()
{
    m_stop = true;
    destroyProcess();
}