Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Console] SIGINT not intercepted, process is stopped #48205

Copy link
Copy link
Closed
@GromNaN

Description

@GromNaN
Issue body actions

Symfony version(s) affected

since 6.1.4 - 6.1.x-dev - 6.2.x-dev

Description

Using SignalableCommandInterface to intercept the signal SIGINT, the process is stopped while it was still running on previous minor versions.

How to reproduce

For Symfony World Online 2022, I created a sample command (code) to play with signals.

https://asciinema.org/a/su5VlgGiuRTBqSD4OXqSNn0XP

The command bin/console app:signal display a progress bar that change direction when Ctrl+C is hit.

When symfony/console is updated to 6.1.4 or newer, Ctrl+C stops the process.
https://asciinema.org/a/537232

Possible Solution

Related merge requests:

Full diff: symfony/console@v6.1.3...v6.1.4

Additional Context

No response

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.