Closed MrLixm closed 1 year ago
Hi :)
I think you're right about the issue expected behaviour. I'll add a root path system in order to avoid it in the next release, thank you for this elaborate feedback :)
Hi again,
Fixed using absolute paths and the os.path.dirname(sys.argv[0]) method The latest windows release has been updated with the fix : https://github.com/mteillet/PyVexr/releases/tag/v0.0.3-Alpha-Windows Thank's for the feedback ! 😄
Martin
Hello !
Context
I am using the latest alpha build v0.0.3 on Windows 10.
Issue
The application crash before being open because of an invalid relative path :
Steps to reproduce
cmd
)Expected behaviour
I assume the application doesn't the working directory to be set to the directory of the
.exe
. When starting from the command line it's not the case (set toC:\Users\lcoll
) so the application crash.Probably all relative paths should be produced from a "root path" which is himself built relative to the path of the executable ?
Hope it's clear. Cheers !