1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_BASE_PROCESS_UTILS_H_
6 #define CHROMECAST_BASE_PROCESS_UTILS_H_
11 namespace chromecast
{
13 // Executes application, for which arguments are specified by |argv| and wait
14 // for it to exit. Stores the output (stdout) in |output|. Returns true on
16 // TODO(slan): Replace uses of this with base::GetAppOutput when crbug/493711 is
18 bool GetAppOutput(const std::vector
<std::string
>& argv
, std::string
* output
);
20 } // namespace chromecast
22 #endif // CHROMECAST_BASE_PROCESS_UTILS_H_