Searched refs:sh_path (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/contrib/nvi/ex/
H A Dex_script.c90 char *sh, *sh_path; local
168 sh_path = O_STR(sp, O_SHELL);
169 if ((sh = strrchr(sh_path, '/')) == NULL)
170 sh = sh_path;
173 execl(sh_path, sh, "-i", NULL);
174 msgq_str(sp, M_SYSERR, sh_path, "execl: %s");
H A Dex_argv.c674 char *sh, *sh_path; local
685 sh_path = O_STR(sp, O_SHELL);
686 if ((sh = strrchr(sh_path, '/')) == NULL)
687 sh = sh_path;
745 execl(sh_path, sh, "-c", np, (char *)NULL);
746 msgq_str(sp, M_SYSERR, sh_path, "118|Error: execl: %s");

Completed in 34 milliseconds