Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_shell.c86 if (access(mdb.m_shell, X_OK) == -1) in mdb_shell_exec()
87 yyperror("cannot access %s", mdb.m_shell); in mdb_shell_exec()
94 (void) execlp(mdb.m_shell, strbasename(mdb.m_shell), in mdb_shell_exec()
97 warn("failed to exec %s", mdb.m_shell); in mdb_shell_exec()
169 if (access(mdb.m_shell, X_OK) == -1) in mdb_shell_pipe()
170 yyperror("cannot access %s", mdb.m_shell); in mdb_shell_pipe()
192 (void) execlp(mdb.m_shell, strbasename(mdb.m_shell), in mdb_shell_pipe()
195 warn("failed to exec %s", mdb.m_shell); in mdb_shell_pipe()
H A Dmdb.h129 const char *m_shell; /* Shell for ! commands and pipelines */ member
H A Dmdb_main.c763 if ((mdb.m_shell = getenv("SHELL")) == NULL) in main()
764 mdb.m_shell = "/bin/sh"; in main()