Home
last modified time | relevance | path

Searched refs:m_shell (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_shell.c88 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 Dmdb.h128 const char *m_shell; /* Shell for ! commands and pipelines */ member
H A Dmdb_main.c742 if ((mdb.m_shell = getenv("SHELL")) == NULL) in main()
743 mdb.m_shell = "/bin/sh"; in main()