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

#include <skalibs/cspawn.h>

#include <execline/config.h>
#include <execline/execline.h>

pid_t el_spawn0 (char const *prog, char const *const *argv, char const *const *envp)
{
  if (!argv[0]) argv = el_trueargv ;
  return cspawn(prog, argv, envp, 0, 0, 0) ;
}