joque
task orchestration library
joque::job_traits< process > Struct Reference

Traits overload so that process can be used in combination with the library. More...

#include <process.hpp>

Static Public Member Functions

static inval_result is_invalidated (const process &p)
 Proces becames invalidated in case one of it's input files is more recent than any of output files. More...
 
static run_result run (const task &, const process &p)
 Executes the process, captures output of both stdout and stderr. More...
 

Detailed Description

Traits overload so that process can be used in combination with the library.

Uses reproc++ internaly for execution of the subprocess.

Member Function Documentation

◆ is_invalidated()

static inval_result joque::job_traits< process >::is_invalidated ( const process p)
static

Proces becames invalidated in case one of it's input files is more recent than any of output files.

◆ run()

static run_result joque::job_traits< process >::run ( const task ,
const process p 
)
static

Executes the process, captures output of both stdout and stderr.

Returns failure in case return code of subprocess is not 0.


The documentation for this struct was generated from the following file: