Searched refs:shellcmd (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/lib/libdpv/
H A Dutil.c41 static char shellcmd[PATH_MAX] = PATH_SHELL; variable
43 shellcmd,
47 shellcmd,
101 error = posix_spawnp(pid, shellcmd, &action,
103 if (error != 0) err(EXIT_FAILURE, "%s", shellcmd);
/freebsd-11-stable/contrib/less/
H A Dfilename.c572 shellcmd(cmd) function
770 fd = shellcmd(cmd);
904 fd = shellcmd(cmd);
991 fd = shellcmd(cmd);
H A Dcommand.c70 static char *shellcmd = NULL; /* For holding last shell command for "!!" */ variable
288 * !! just uses whatever is in shellcmd.
289 * Otherwise, copy cmdbuf to shellcmd,
294 if (shellcmd != NULL)
295 free(shellcmd);
296 shellcmd = fexpand(cbuf);
301 if (shellcmd == NULL)
304 lsystem(shellcmd, "!done");

Completed in 103 milliseconds