Skip to content

panic on missing cmd #9

@ChrisPenner

Description

@ChrisPenner

Currently rargs completely panics if you pass it a program it can't exec; I'd expected it to fail of course, but maybe with a slightly better message 😄

$ cat myfile.txt | rargs something
thread '<unnamed>' panicked at 'command failed to start: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5
...

It prints the panic for each line of the input file.

Thanks for the tool! I've been looking for something handy like this 👍

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