Skip to content

Support timeout for running simulations with C-API #351

@schmoelder

Description

@schmoelder

(Not sure if this is a CADET-Python issue)

When using the CLI via Python, we can specify a timeout via:

data = subprocess.run(
    [self.cadet_path, str(simulation.filename)],
    timeout=timeout,
    capture_output=True
)

Is something like this also generally possible when running simulations via the C-API?
It can be quite useful at times...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions