Skip to content

init system for startup and interactive? #170

Closed
@yajo

Description

@yajo

Is your feature request related to a problem? Please describe.

Exiting nix develop shell leaves running processes.

Describe the solution you'd like

For interactive and startup sections, it would be great to be able to leverage some small init system that automatically reaps child processes.

Describe alternatives you've considered

Adding traps like here, but still not easy to get going right always, and some programs don't support daemon mode out of the box:

trap "pg_ctl stop" EXIT

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions