mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
custom sitet pre release
This commit is contained in:
@@ -16,27 +16,31 @@ IpcServerProcess::IpcServerProcess(QObject *parent) :
|
||||
qDebug() << "IpcServerProcess errorOccurred " << error;
|
||||
});
|
||||
|
||||
connect(m_process.data(), &QProcess::readyReadStandardError, [&](){
|
||||
connect(m_process.data(), &QProcess::readyReadStandardError, this, [this](){
|
||||
qDebug() << "IpcServerProcess StandardError " << m_process->readAllStandardError();
|
||||
|
||||
});
|
||||
connect(m_process.data(), &QProcess::readyReadStandardOutput, [&](){
|
||||
connect(m_process.data(), &QProcess::readyReadStandardOutput, this, [this](){
|
||||
qDebug() << "IpcServerProcess StandardOutput " << m_process->readAllStandardOutput();
|
||||
});
|
||||
|
||||
connect(m_process.data(), &QProcess::readyRead, [&](){
|
||||
connect(m_process.data(), &QProcess::readyRead, this, [this](){
|
||||
qDebug() << "IpcServerProcess StandardOutput " << m_process->readAll();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
IpcServerProcess::~IpcServerProcess()
|
||||
{
|
||||
qDebug() << "IpcServerProcess::~IpcServerProcess";
|
||||
}
|
||||
|
||||
void IpcServerProcess::start(const QString &program, const QStringList &arguments)
|
||||
{
|
||||
m_process->start(program, arguments);
|
||||
qDebug() << "IpcServerProcess started, " << arguments;
|
||||
|
||||
m_process->waitForStarted();
|
||||
qDebug() << "waitForStarted started, " << m_process->errorString();
|
||||
}
|
||||
|
||||
void IpcServerProcess::start()
|
||||
@@ -45,7 +49,6 @@ void IpcServerProcess::start()
|
||||
qDebug() << "IpcServerProcess started, " << m_process->program() << m_process->arguments();
|
||||
|
||||
m_process->waitForStarted();
|
||||
qDebug() << "waitForStarted , " << m_process->errorString() << m_process->error();
|
||||
}
|
||||
|
||||
void IpcServerProcess::close()
|
||||
@@ -70,7 +73,6 @@ void IpcServerProcess::setNativeArguments(const QString &arguments)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void IpcServerProcess::setProcessChannelMode(QProcess::ProcessChannelMode mode)
|
||||
{
|
||||
m_process->setProcessChannelMode(mode);
|
||||
|
||||
Reference in New Issue
Block a user