Skip to content

Add Windows support for kill by process ID --from winuxcmd project #45

@a-rookie-of-C-language

Description

@a-rookie-of-C-language

Summary

kill is currently not shipped in Coreutils for Windows because Windows does not provide POSIX signals. However, Windows can still terminate processes by process ID through native process APIs.

This issue proposes adding a Windows-specific kill implementation that supports PID-based process termination while clearly documenting that it is not full POSIX signal support.

Proposed behavior

Support commands such as:

kill <PID>
kill -9 <PID>
kill -KILL <PID>
kill -TERM <PID>
kill -s KILL <PID>
kill --signal=TERM <PID>
kill --list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions