Expand description
The Command API module allows you to manage child processes.
Functions§
- binary_
command - Gets the binary command with the current target triple.
- command_
path - Gets the path to command relative to the current executable path.
- get_
output - Gets the output of the given command.
- spawn_
relative_ command - Spawns a process with a command string relative to the current executable path.
For example, if your app bundles two executables, you don’t need to worry about its path and just run
second-app
.