Function rcutils_start_process
Defined in File process.h
Function Documentation
-
rcutils_process_t *rcutils_start_process(const rcutils_string_array_t *args, rcutils_allocator_t *allocator)
Execute a command as a new subprocess.
This function runs a command by creating a new subprocess of the currently running process.
- Parameters:
args – [in] the command line arguments to be run
allocator – [in] the allocator to use
- Returns:
The successfully created subprocess, or
- Returns:
NULL on failure.