libsubprocess: subprocess execution functions
Run subprocess jobs.
- class haddock.libs.libsubprocess.BaseJob(input_: Path, output: Path, executable: Path, *args: Any)[source]
Bases:
object
Base class for a subprocess job.
- class haddock.libs.libsubprocess.CNSJob(input_file: str | Path, output_file: str | Path | None = None, error_file: str | Path | None = None, envvars: dict[str, Any] | None = None, cns_exec: str | Path | None = None)[source]
Bases:
object
A CNS job script.
- class haddock.libs.libsubprocess.Job(input_: Path, output: Path, executable: Path, *args: Any)[source]
Bases:
BaseJob
Instantiate a standard job.
Runs with the following scheme:
$ cmd ARGS INPUT