#ifndef TOOLS_GN_EXEC_PROCESS_H_
#define TOOLS_GN_EXEC_PROCESS_H_
#include <string>
#include "util/build_config.h"
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);
#if defined(OS_WIN)
bool ExecProcess(const std::u16string& cmdline_str,
const base::FilePath& startup_dir,
std::string* std_out,
std::string* std_err,
int* exit_code);
#endif
}
#endif