https://github.com/gh0stwizard/p5-proc-pathname
Proc::Pathname - Retrieves the fully qualified path for the program
https://github.com/gh0stwizard/p5-proc-pathname
Last synced: 3 months ago
JSON representation
Proc::Pathname - Retrieves the fully qualified path for the program
- Host: GitHub
- URL: https://github.com/gh0stwizard/p5-proc-pathname
- Owner: gh0stwizard
- License: other
- Created: 2016-02-29T20:48:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-05T02:55:25.000Z (about 9 years ago)
- Last Synced: 2025-01-01T11:27:18.752Z (5 months ago)
- Language: C++
- Size: 73.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
Proc-Pathname version 0.08
==========================Proc::Pathname - Retrieves the fully qualified path for the program
A common way to retrieve a path for the program is using the variables
$0 and $^X. However, sometimes it is not working for you. So, you have
to find a way to retrieve the path for the program somehow differently.The module is using system calls to do the job and written as XS module.
This module was made for mine private purposes, mostly, for staticperl.INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make installDEPENDENCIES
This module requires these other modules and libraries:
Test
BUGS
Completely broken on OpenBSD as of version 0.08, because of
OpenBSD does not provide a suitable way to determine
a location of a running process. Current implementation is
based on the program `which' and it tries to find a path
via the PATH environment variable.COPYRIGHT AND LICENCE
Copyright (C) 2016 by Vitaliy V. Tokarev
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.22.0 or,
at your option, any later version of Perl 5 you may have available.