Changes between Initial Version and Version 3 of Ticket #2086
- Timestamp:
- Sep 2, 2013, 9:27:09 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2086
- Property Keywords simple added
- Property Priority Should Have → Nice to Have
- Property Summary Path detection on OpenBSD → Path detection failing
-
Ticket #2086 – Description
initial v3 1 Calling pyrogenesis (instead of some path (be it relative or absolute) without being in the right dir) fails with the following error on Linux and BSD. 1 2 {{{ 2 3 $ pyrogenesis … … 28 29 29 30 However, if I'm in the same directory as the executable (e.g., with "cd /usr/local/bin && pyrogenesis"), it works perfectly. 31 32 This issue is twofold: 33 1. We don't use `INSTALLED_BINDIR` in [source:ps/trunk/source/ps/GameSetup/Paths.cpp#L156 Paths.cpp] `Paths::Root()` 34 2. We should get the proper path of the executable if we are started like above (some ways on how to do that for Linux and some BSD variants [http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe/1024937#1024937 at stackoverflow]) 35 sys_ExecutablePathname() in [source:ps/trunk/source/lib/sysdep/os/ source/lib/sysdep/os/]{linux/linux.cpp,bsd/bsd.cpp}