wowlet/src/utils/childproc.h
dsc 133700160a Feather, a free Monero desktop wallet
Co-Authored-By: tobtoht <thotbot@protonmail.com>
2020-10-08 04:31:22 +02:00

25 lines
500 B
C++

// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020, The Monero Project.
#ifndef FEATHER_FPROCESS_H
#define FEATHER_FPROCESS_H
#include <QtCore>
#include <QProcess>
#if defined(HAVE_SYS_PRCTL_H) && defined(Q_OS_UNIX)
#include <signal.h>
#include <sys/prctl.h>
#endif
class ChildProcess : public QProcess {
Q_OBJECT
public:
explicit ChildProcess(QObject* parent = nullptr);
~ChildProcess();
protected:
void setupChildProcess() override;
};
#endif //FEATHER_FPROCESS_H