Skip to content

Windows release not working from different drive #13820

@mccricri

Description

@mccricri

Elixir and Erlang/OTP versions

Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Elixir 1.17.2 (compiled with Erlang/OTP 26)

Operating system

windows

Current behavior

Starting the released "application.bat" from a different drive does not work.
It show multiple "File not found" and does nothing.

C:\Users\mccricri > d:\src\test_elixir\_build\prod\rel\test_elixir\bin\test_elixir.bat start
Le chemin d’accès spécifié est introuvable.
Le chemin d’accès spécifié est introuvable.
Le chemin d’accès spécifié est introuvable.
Le chemin d’accès spécifié est introuvable.

Expected behavior

before going to ".." of the script directory in

we must switch to the good drive.
I just add %~d0 before this line and works well.

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