#include "base/logging.h"
#include "base/path_service.h"
#include "base/process/kill.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/process/kill.h"
if (!base::LaunchProcess(cmd_string, base::LaunchOptions(),
&process)) {
PLOG(ERROR) << "Failed to launch (" << cmd_string << ")";
if (!base::LaunchProcess(cmd_string, base::LaunchOptions(),
&process)) {
PLOG(ERROR) << "Failed to launch (" << cmd_string << ")";
// The GetExitCodeProcess failed or timed-out.
LOG(ERROR) <<"Command (" << cmd_string << ") is taking more than "
<< timeout.InMilliseconds() << " milliseconds to complete.";
// The GetExitCodeProcess failed or timed-out.
LOG(ERROR) <<"Command (" << cmd_string << ") is taking more than "
<< timeout.InMilliseconds() << " milliseconds to complete.";