2385 |
//m_pServer->setProcessChannelMode( |
//m_pServer->setProcessChannelMode( |
2386 |
// QProcess::StandardOutput); |
// QProcess::StandardOutput); |
2387 |
QObject::connect(m_pServer, |
QObject::connect(m_pServer, |
2388 |
SIGNAL(readyReadStdout()), |
SIGNAL(readyReadStandardOutput()), |
2389 |
SLOT(readServerStdout())); |
SLOT(readServerStdout())); |
2390 |
QObject::connect(m_pServer, |
QObject::connect(m_pServer, |
2391 |
SIGNAL(readyReadStderr()), |
SIGNAL(readyReadStandardError()), |
2392 |
SLOT(readServerStdout())); |
SLOT(readServerStdout())); |
2393 |
// } |
// } |
2394 |
// The unforgiveable signal communication... |
// The unforgiveable signal communication... |
2395 |
QObject::connect(m_pServer, |
QObject::connect(m_pServer, |
2396 |
SIGNAL(processExited()), |
SIGNAL(finished(int,QProcess::ExitStatus)), |
2397 |
SLOT(processServerExit())); |
SLOT(processServerExit())); |
2398 |
|
|
2399 |
// Build process arguments... |
// Build process arguments... |