Skip to content

exec of "cargo" will not work on systems that don't have the Rust toolchain / cargo in $PATH. #1

@jkbecker

Description

@jkbecker

let err = exec::Command::new("cargo").args(&argv).exec();

Running a cronjob that launches crosswind automatically on a cloudkitten and it dies in the line above:

ubuntu@cloudkitten-singapore:~$ tail -f /var/log/serval/crosswind.log 
thread 'main' panicked at 'Error: couldn't exec process: No such file or directory', src/bin/tailscale.rs:95:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

is there a way to more generically express this functionality?

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