You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the minimal example to reproduce the problmen
Cargo.toml
[dependencies]
cmd_lib = "1.3"
main.rs
use cmd_lib::run_cmd;
fn main() {
run_cmd! {
mkdir -p build;
cd build;
mkdir -p nested;
cd nested;
}.unwrap();
}
Run the above code gives the followin error
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Running [\"cd\", \"nested\"] failed: cd nested: No such file or directory" }', src/main.rs:8:7
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
This is the minimal example to reproduce the problmen
Cargo.toml
main.rs
Run the above code gives the followin error
The text was updated successfully, but these errors were encountered: