summaryrefslogtreecommitdiff
path: root/src/execute.h
blob: 2ad81d13fa514cf034bd5e4322321144f04a2873 (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);