in reply to Re^3: pp macOS external file
in thread pp macOS external file
I am a bit confused. The .png file is in the same directory as the executable (I can not have absolute paths, but only relative ones). So, the path for this icon should already be correct (and from the Terminal it works okay). How should the relative path differ in the executable? the OS is darwin.
Added: the problem should be that the executable sees the relative path starting from its "internal" (I do not how to call it) position that a simple:
use File::Basename; my $dirname= dirname(__FILE__);
inside my original script reveals to be different than the physical position of the executable on the machine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: pp macOS external file
by marto (Cardinal) on Apr 20, 2018 at 14:23 UTC |