Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize command-line argument paths #14934

Merged
merged 1 commit into from
Feb 17, 2024
Merged

Conversation

catboxanon
Copy link
Collaborator

@catboxanon catboxanon commented Feb 15, 2024

Description

This aims to fix an issue on Windows where some functions will misbehave if forward slashes are provided rather than double backslashes. An example of this is the current tree generation procedure implemented in #14588, which produces no tree if a path with forward slashes X:/like/this is provided via the cmd line arg rather than backslashes X:\\like\\this.

This would partially resolve the issue being experienced here: lllyasviel/stable-diffusion-webui-forge#121

Checklist:

In particular, this fixes an issue on Windows where some functions
will misbehave if forward slashes are provided rather than
double backslashes.
@catboxanon catboxanon changed the title Normalize cmd arg paths Normalize command-line argument paths Feb 15, 2024
@AUTOMATIC1111 AUTOMATIC1111 merged commit d70632a into dev Feb 17, 2024
6 checks passed
@AUTOMATIC1111 AUTOMATIC1111 deleted the fix/normalize-cmd-arg-paths branch February 17, 2024 05:54
@w-e-w w-e-w mentioned this pull request Feb 17, 2024
@pawel665j pawel665j mentioned this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants