2022-01-20 18:27:56 +00:00
|
|
|
// This file Copyright © 2017-2022 Mnemosyne LLC.
|
|
|
|
// It may be used under GPLv2 (SPDX: GPL-2.0), GPLv3 (SPDX: GPL-3.0),
|
|
|
|
// or any future license endorsed by Mnemosyne LLC.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2017-11-27 22:22:44 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-11-24 19:25:23 +00:00
|
|
|
#include <map>
|
|
|
|
#include <string_view>
|
|
|
|
|
2021-12-15 21:25:42 +00:00
|
|
|
struct tr_error;
|
2020-08-11 18:11:55 +00:00
|
|
|
|
2021-11-24 19:25:23 +00:00
|
|
|
bool tr_spawn_async(
|
|
|
|
char const* const* cmd,
|
|
|
|
std::map<std::string_view, std::string_view> const& env,
|
|
|
|
char const* work_dir,
|
2021-12-15 21:25:42 +00:00
|
|
|
tr_error** error);
|