Skip to content

Bug: sheep-cli panics on input with globbing (Windows) #32

@joarfish

Description

@joarfish

Issue

When I specify the input files using globbing, sheep-cli crashes with

thread 'main' panicked at ' Failed to open image: IOError(Os { code: 123, kind: Other, message: "The filename, directory name, or volume label syntax is incorrect." })

I looked into it and found out that this is due to Windows not expanding input arguments using globbing.

Possible Fix

Use glob crate to expand inputs with globbing.

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