Searched refs:m_shell (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_shell.c | 88 if (access(mdb.m_shell, X_OK) == -1) in mdb_shell_exec() 89 yyperror("cannot access %s", mdb.m_shell); in mdb_shell_exec() 96 (void) execlp(mdb.m_shell, strbasename(mdb.m_shell), in mdb_shell_exec() 99 warn("failed to exec %s", mdb.m_shell); in mdb_shell_exec() 171 if (access(mdb.m_shell, X_OK) == -1) in mdb_shell_pipe() 172 yyperror("cannot access %s", mdb.m_shell); in mdb_shell_pipe() 194 (void) execlp(mdb.m_shell, strbasename(mdb.m_shell), in mdb_shell_pipe() 197 warn("failed to exec %s", mdb.m_shell); in mdb_shell_pipe()
|
H A D | mdb.h | 128 const char *m_shell; /* Shell for ! commands and pipelines */ member
|
H A D | mdb_main.c | 742 if ((mdb.m_shell = getenv("SHELL")) == NULL) in main() 743 mdb.m_shell = "/bin/sh"; in main()
|