Skip to main content

start_job

Function start_job 

Source
pub fn start_job(state: &Arc<AppState>, cmd: Vec<String>) -> u64
Expand description

_execute_cmd(cmd): start cmd in the workspace and register a job whose stdout and stderr lines stream to /jobs/{id}/stream. Returns the job id.