diff options
Diffstat (limited to 'src/libstddjb/pathexec_run.c')
-rw-r--r-- | src/libstddjb/pathexec_run.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstddjb/pathexec_run.c b/src/libstddjb/pathexec_run.c deleted file mode 100644 index 5888ba2..0000000 --- a/src/libstddjb/pathexec_run.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <stdlib.h> -#include <skalibs/config.h> -#include <skalibs/posixplz.h> -#include <skalibs/djbunix.h> - -void pathexec_run (char const *file, char const *const *argv, char const *const *envp) -{ - char const *path = getenv("PATH") ; - if (!path) path = SKALIBS_DEFAULTPATH ; - execvep(file, argv, envp, path) ; -} |