Static runtime::CURR_SCRIPT_PATH
source · [−]pub static CURR_SCRIPT_PATH: OnceCell<PathBuf>
Expand description
The absolute path to the current running script. If not set, the script isn’t running from a file (this is a perfectly valid situation)