blob: 20936ed14fcd5188b59e3364d3ec7b2716cb2260 [file]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Launches a new process to execute the desired command. Returns the exit code
// of the executed program, and -1 if a problem was found during launch.
// Note: the given argument list must be terminated by a null pointer.
int Execute(const char** argv);