Skip to content

Timeout / cancel stuck process #1137

@zirkelc

Description

@zirkelc

Hey,

sorry for asking a question as an issue, I thought it might be a useful feature if it doesn't already exist. Execa has options for timeout and cancel signal.

I had a few cases where a process running a Node.js script got stuck because of an error, but the script didn't properly throw this error so the process kept running but didn't print anything to sdtout/stderr.

In such cases it would be nice to have timeout that resets after each update on on sdtout/stderr, so that you can distinguish a long running process from a stuck process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions