summaryrefslogtreecommitdiff
path: root/src/execute.h
blob: 336c3eff7759aebc4a202f4cfdd4b79e0217802f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// -*- c++ -*-
// Distributed under the BSD 2-Clause License.
// See accompanying file LICENSE for details.
#pragma once

#include <string>
#include <vector>
#include <map>

int execute(const std::string& command,
            const std::vector<std::string>& args = {},
            const std::map<std::string, std::string>& env = {},
            bool verbose = true);