[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Obtain the lua script's (absolute/real) dirname and file name from within the script itself.
- From: Sean Conner <sean@...>
- Date: Thu, 30 Jan 2020 03:55:52 -0500
It was thus said that the Great pocomane once stated:
>
> Sadly, if you really need the abolute path 3), you have to rely on
> os-dependent tricks. For linux you can use popen and realpath:
Sadly, realpath seems to be a Debian thing, not a Linux thing in general.
-spc (Then again, who uses anything other than Debian?)