forked from qt-creator/qt-creator
VCS: Enable terminating a command
Change-Id: I2160a22e300aca9b38e28257375c8e0be2026d12 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
0aae98fb13
commit
27e53f746f
@@ -402,6 +402,11 @@ SynchronousProcessResponse SynchronousProcess::run(const QString &binary,
|
||||
return d->m_result;
|
||||
}
|
||||
|
||||
bool SynchronousProcess::terminate()
|
||||
{
|
||||
return stopProcess(d->m_process);
|
||||
}
|
||||
|
||||
static inline bool askToKill(const QString &binary = QString())
|
||||
{
|
||||
if (!isGuiThread())
|
||||
|
||||
Reference in New Issue
Block a user