Skip to content

Add a kill($signal) method to Process #5454

Closed
@boombatower

Description

@boombatower

I wrote my own Process class on top of proc_open() before I found the Process component of Symfony2. My class provides a kill($signal = 15) method that simply invokes proc_terminate($this->resource, $signal);

My use was I needed to be able to send the HUP signal.

If these seems useful I will create a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions