2017-11-27 22:22:44 +00:00
|
|
|
/*
|
|
|
|
* This file Copyright (C) 2017 Mnemosyne LLC
|
|
|
|
*
|
|
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-11-24 19:25:23 +00:00
|
|
|
#include <map>
|
|
|
|
#include <string_view>
|
|
|
|
|
2020-08-11 18:11:55 +00:00
|
|
|
#include "tr-macros.h"
|
|
|
|
|
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,
|
|
|
|
struct tr_error** error);
|