summaryrefslogtreecommitdiffstats
path: root/tools/gn/exec_process.h
blob: 4d010d519f9016c7210104284f132e3b429e6a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef TOOLS_GN_EXEC_PROCESS_H_
#define TOOLS_GN_EXEC_PROCESS_H_

#include <string>

namespace base {
class CommandLine;
class FilePath;
}

namespace internal {

bool ExecProcess(const base::CommandLine& cmdline,
                 const base::FilePath& startup_dir,
                 std::string* std_out,
                 std::string* std_err,
                 int* exit_code);

}  // namespace internal

#endif  // TOOLS_GN_EXEC_PROCESS_H_