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

#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, (unsigned int)argc)) strerr_diefu1sys(111, "env_string") ;
  el_substandrun_str(&satmp, 0, envp, info) ;
}