Skip to content

Can't execute gitea.exe on Windows in cmd.exe #22063

Closed
@crackedmind

Description

@crackedmind

Description

>gitea-1.18.0-rc1-windows-4.0-amd64.exe --help
2022/12/07 23:15:28 ...s/setting/setting.go:516:1() [F] Failed to get app path: exec: "gitea.exe": cannot run executable found relative to current directory

From powershell it starts normally.

And it' working as expected in cmd.exe for 1.17.3

>gitea-1.17.3-windows-4.0-amd64.exe --help
NAME:
   Gitea - A painless self-hosted Git service

Gitea Version

1.18-rc1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Windows 11

How are you running Gitea?

Official gitea-1.18.0-rc1-windows-4.0-amd64.exe

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions