summary refs log tree commit diff
path: root/src/libexecline/el_substandrun.c
blob: 8b8084a4f5b5ea2713e0d2f76f981096584f8ec7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* ISC license. */

#include <sys/types.h>
#include <skalibs/env.h>
#include <skalibs/strerr2.h>
#include <skalibs/skamisc.h>
#include "exlsn.h"

void el_substandrun (int argc, char const *const *argv, char const *const *envp, exlsn_t const *info)
{
  satmp.len = 0 ;
  if (!env_string(&satmp, argv, (size_t)argc)) strerr_diefu1sys(111, "env_string") ;
  el_substandrun_str(&satmp, 0, envp, info) ;
}