Skip to content

upgrade to 2.0.0 break previously working run_fun #89

@closet6

Description

@closet6

it looks like it collapses string removing spaces

this code:

#[rustfmt::skip]
let version = run_fun!(bash --version)?;
info!("Your rust version is {version}")

Now causes this runtime error:
Error: Custom { kind: NotFound, error: "Running [\"bash--version\"] failed: No such file or directory (os error 2) at src/main.rs:39" }

v1.9.6 does not have this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions