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

#include <skalibs/env.h>
#include <skalibs/strerr.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) ;
}