Skip to content
Snippets Groups Projects
Commit 7aed61fa authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

VCS: Allow unlimited timeout


Change-Id: I1544b6ed01e7f7d8aeaaef57c40d1f6afc83a664
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 42ca9a12
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,8 @@ void Command::run()
process->closeWriteChannel();
const int timeOutSeconds = d->m_jobs.at(j).timeout;
if (!Utils::SynchronousProcess::readDataFromProcess(*process, timeOutSeconds * 1000,
if (!Utils::SynchronousProcess::readDataFromProcess(*process,
timeOutSeconds >= 0 ? timeOutSeconds * 1000 : -1,
&stdOut, &stdErr, false)) {
Utils::SynchronousProcess::stopProcess(*process);
ok = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment