Commit 7e4fdd96 authored by Lukas Appelhans's avatar Lukas Appelhans

Fix execution

parent 91c2b116
......@@ -30,7 +30,7 @@ ChrootedProcess::ChrootedProcess(Operation *op, const QString& chroot, QObject*
, m_operation(op)
{
qDebug() << "Constructed";
setReadChannelMode(QProcess::MergedChannels);
//setReadChannelMode(QProcess::MergedChannels);
connect(this, SIGNAL(readyRead()), this, SLOT(slotReadyRead()));
connect(this, SIGNAL(finished(int)), this, SLOT(slotFinished(int)));
connect(this, SIGNAL(error(QProcess::ProcessError)), this, SLOT(slotError(QProcess::ProcessError)));
......@@ -43,6 +43,7 @@ ChrootedProcess::~ChrootedProcess()
void ChrootedProcess::run(const QString &cmd, QFile * file)
{
m_file = file;
//setStandardOutputFile("/tmp/log");
start(cmd);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment