Skip to content

Use exec() to delegate to the real cargo/rustc on Unix #31

Closed
@alexcrichton

Description

@alexcrichton

Right now the Command API is presumably used which is cross platform (yay!) but doesn't provide the best experience on Unix. For example if I gdb cargo it doesn't actually gdb the Cargo executable itself but rather the shim. If, however, exec were used to spawn the new process then gdb I believe should naturally "just work".

Plus there's the added benefit of fewer processes sticking around!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions