Thanks to visit codestin.com
Credit goes to github.com

Skip to content

timeout: Only TERM signal sent to timeout is propagated to child #10238

@eaibmz

Description

@eaibmz

In contrast to GNU coreutils, uutils coreutils timeout is propagating only the TERM signal, e.g. INT signal just kills the timeout process.
Is this intentional ?

Test:

$ timeout -v 365d sleep 100
$ pkill -INT timeout

Compare with TERM:

$ timeout -v 365d sleep 100
$ pkill -TERM timeout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions