8000 Cloning on Windows fails with invalid path · Issue #4 · arwie/controlOS_demo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Cloning on Windows fails with invalid path #4
Open
@SpareSimian

Description

@SpareSimian

git for Windows version 2.49.0.windows.1 reports:

error: invalid path 'root/base/projectroot/usr/lib/systemd/system/dev-disk-by\x2dlabel-INSTALL.device'

Alas, systemd mount units for paths with dashes in the name must be escaped using '\x2d' and of course backslash is a reserved character in Windows. I've no idea how to fix this in a portable way. It's clearly the correct filename for a systemd system, and an invalid name for Windows. The only solution I can see is renaming the file on deployment in the target system.

For now I'm cloning to my Linux file server and browsing from my Windows box using Samba. That file shows up with a DOS "short name" DGFTAT~S.

(My ultimate objective is to control SoftMotion from a C++ app. I was able to get the CODESYS shared memory example working and your Python example looks exactly like what I need.)

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

      0