Skip to content

Process.start could have a mode that replaces current process with the started one. #41966

Open
@sigurdm

Description

@sigurdm

Similar to exec in posix.

This would make signal handling more consistent if the spawning process is there as a script to run another program, also it might save memory.

This came up in the context of pub run (dart-lang/pub#2492) that wants to start the program in a subprocess, and let that subprocess handle signals without interference from pub run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-iotype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions