Method
IdePipelinecreate_run_context
Declaration
IdeRunContext*
ide_pipeline_create_run_context (
IdePipeline* self,
IdeRunCommand* run_command
)
Description
Creates a new IdeRunContext to run run_command.
This helper is generally meant to be used by pipeline stages to create
a run context that will execute within the pipeline to run the command
described in run_command.
The run context is first prepared using ide_pipeline_prepare_run_context()
after which the run command’s ide_run_command_prepare_to_run() is used.
Parameters
run_command-
Type:
IdeRunCommandAn
IdeRunCommand.The data is owned by the caller of the method.
Return value
Type: IdeRunContext
An IdeRunContext.
| The caller of the method takes ownership of the data, and is responsible for freeing it. |