Skip to content

Bash escaping issues for paths containing spaces #6

@stv0g

Description

@stv0g

I get a lot of the following errors for paths which contain spaces:

2025-05-22 20:38:40.719 git-annex-turtle[74252:1873630] [error] relativePath: Arbeit/ACS/Documentation & Manuals/PCIe/xapp1022/MET_GUI/GTK/share/locale/or/LC_MESSAGES, in: WatchedFolder: '/Users/stv0g/annex' C2C83AE5-D481-4972-BEC7-21B6144A95F4 status= 127 output=[""] error=["/bin/bash: Manuals/PCIe/xapp1022/MET_GUI/GTK/share/locale/or/LC_MESSAGES: No such file or directory", "find: ‘Arbeit/ACS/Documentation’: No such file or directory"] @GitAnnexQueries.swift->immediateChildrenNotIgnored(relativePath:in:) line #741

It seems like there is something off with the escaping of paths when invoking the shell?

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