summaryrefslogtreecommitdiff
path: root/src/libstddjb/xpathexec_run.c
blob: 7c054ee8425e3ebc4cf529a21e9c3ff1d772f087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#include <errno.h>

#include <skalibs/djbunix.h>
#include <skalibs/strerr2.h>

void xpathexec_run (char const *file, char const *const *argv, char const *const *envp)
{
  pathexec_run(file, argv, envp) ;
  strerr_dieexec(errno == ENOENT ? 127 : 126, file) ;
}