summaryrefslogtreecommitdiff
path: root/src/libexecline/el_gspawn0.c
blob: 2a5cb972fc9da9b6269f07559ac70878dc993c6f (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_gspawn0 (char const *prog, char const *const *argv, char const *const *envp)
{
  if (!argv[0]) argv = el_trueargv ;
  return gcspawn(prog, argv, envp, 0, 0, 0) ;
}