kkrunner.backends.local.LocalRunner

class kkrunner.backends.local.LocalRunner(spec, callback=None)[source]

Bases: object

One local subprocess execution.

The runner owns only process lifecycle, output-file writing and raw output observation. It deliberately performs no task-specific parsing.

Parameters:

spec (ExecutionSpec)

property state
property exception
property backend_id
property failure_phase
property failure_message
property return_code
add_output_listener(callback)[source]
add_output_error_listener(callback)[source]
cancel()[source]
submit()[source]
wait()[source]
run()[source]
async run_async()[source]