Skip to content

Record passed args in Command even on platforms not supporting process spawning #74975

Description

@bjorn3

This would be useful when running a program that normally executes a different program at the end for example wasm32-wasi. If the program debug prints the std::process::Command on errors that would make it easy for the end user to run the command outside of the wasi sandbox themselves. In my particular case I compiled rustc for wasi and want to copy-paste the linker invocations once all object files are written.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-processArea: `std::process` and `std::env`T-libs-api[DEPRECATED; DO NOT USE]

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions