blob: 16397d0eff5bb4ecd9fe885511f46be32495ce2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "utils_global.h"
#include <chrono>
QT_BEGIN_NAMESPACE
class QProcess;
QT_END_NAMESPACE
namespace Utils::ProcessReaper {
QTCREATOR_UTILS_EXPORT void deleteAll();
QTCREATOR_UTILS_EXPORT void reap(QProcess *process,
std::chrono::milliseconds timeout = std::chrono::milliseconds(500));
} // namespace Utils::ProcessReaper
|