Project

General

Profile

Feature #696674

msys2: Run exes with path

Added by Marko Lindqvist 5 months ago. Updated 2 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Windows Installers
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Make .cmd files to look up exes with dynamic path instead of assuming that working directory is freeciv installation root. Running from other directories still won't really work for the reason that data files won't be found.

0017-msys2-Run-exes-with-path.patch (4.21 KB) 0017-msys2-Run-exes-with-path.patch master Marko Lindqvist, 2017-09-12 10:37 PM
0008-msys2-Run-exes-with-path.patch (5.12 KB) 0008-msys2-Run-exes-with-path.patch S3_0 Marko Lindqvist, 2017-09-12 10:37 PM
0006-msys2-Run-exes-with-path.patch (4.99 KB) 0006-msys2-Run-exes-with-path.patch S2_6 Marko Lindqvist, 2017-09-12 10:38 PM
0001-msys2-Run-exes-with-path.patch (4.22 KB) 0001-msys2-Run-exes-with-path.patch master Marko Lindqvist, 2018-02-07 02:17 PM
0001-msys2-Run-exes-with-path.patch (5.14 KB) 0001-msys2-Run-exes-with-path.patch S3_0 Marko Lindqvist, 2018-02-07 02:18 PM
0001-msys2-Run-exes-with-path.patch (5 KB) 0001-msys2-Run-exes-with-path.patch S2_6 Marko Lindqvist, 2018-02-07 02:18 PM
0001-msys2-Run-exes-with-path.patch (4.32 KB) 0001-msys2-Run-exes-with-path.patch master Marko Lindqvist, 2018-02-17 02:24 AM
0001-msys2-Run-exes-with-path.patch (5.26 KB) 0001-msys2-Run-exes-with-path.patch S3_0 Marko Lindqvist, 2018-02-17 02:24 AM
0001-msys2-Run-exes-with-path.patch (5.13 KB) 0001-msys2-Run-exes-with-path.patch S2_6 Marko Lindqvist, 2018-02-17 02:24 AM

Related issues

Related to Freeciv - Task #696736: Windows start script issuesNew

Blocks Freeciv - Task #729132: Release 2.6.0-beta3New

History

#2 Updated by frank e 5 months ago

  • Related to Task #696736: Windows start script issues added

#3 Updated by Jacob Nevins about 1 month ago

Do you plan to commit this for beta2?

#4 Updated by Jacob Nevins 30 days ago

  • Target version changed from 2.6.0-beta2 to 2.6.0-beta3

#5 Updated by Marko Lindqvist 12 days ago

  • Status changed from Resolved to In Progress

Finally got this tested - doesn't work. I think it's because of whitespace in the path ("Program Files")

#7 Updated by Marko Lindqvist 9 days ago

  • Status changed from Resolved to In Progress

Clients do not launch, but DOS prompt opens instead. I don't get that "start" semantics.

#8 Updated by Marko Lindqvist 5 days ago

#9 Updated by frank e 4 days ago

Marko Lindqvist wrote:

I don't get that "start" semantics.

It's FUBAR, trying to map strings to options. You need a title string, and if you don't want it at least give an empty string: start "" ...

You might have a start directory (option /D), you can use /D . for the CWD, otherwise make sure to give it as string, e.g., /D "%CD%"

And put the actual path to the binary in double quotes, before the program parameters. Also see the start line in #696736

Also available in: Atom PDF