Skip to content

[Feature] Process replacement API #251

@weissi

Description

@weissi

Describe the solution you'd like

Many command line utilities (example xcrun) allow you to do something and finally replace the process with the target process. Maybe xcrun -sdk ios swiftc -c -o iosfile.o iosfile.swift or similar.

To function properly, this requires process replacement, typically using execve on UNIX. I couldn't find an API in Subprocess that would let me run a process in a way that it replaces my own process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions