summaryrefslogtreecommitdiff
path: root/src/libenvexec/xexec_ae.c
blob: 55b7c70eda06902777824236d3904c5a51c06795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#include <errno.h>

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

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