Skip to content

Cannot be launched from git bash for Windows because tar isn't working properly #53

@andreww2012

Description

@andreww2012

Hello. I'm trying to launch multiocular from git bash for Windows (v2.37.3.1) and as soon as it tries to unpack a tarball it crashes because tar isn't working as expected:

 FATAL  Command failed: tar -xzf "C:\Users\***\AppData\Local\Temp\multiocular-humD3a\package.tgz" --strip-components=1 -C "C:\Users\***\AppData\Local\Temp\multiocular-humD3a"
tar (child): Cannot connect to C: resolve failed

I think the direct tar command call here should be replaced with a JS module for compatibility with various shells:

await execAsync(
`tar -xzf "${tarballPath}" --strip-components=1 -C "${tempDir}"`
)

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