Skip to content

Signals not forwarded to child processes #3789

Open
@jonashaag

Description

@jonashaag

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

pixi run python sig.py
kill -INT <pixi run PID>
kill -INT <python PID>

Issue description

When you send a signal to the pixi parent process it's not forwarded to the child.

import signal
import time

def signal_handler(signum, frame):
    print(f"Signal handler called with signal {signum}")

signal.signal(signal.SIGINT, signal_handler)

while True:
    time.sleep(1)

Expected behavior

Should forward signals

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions