Searched refs:Shell (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/mailx/
H A Dpopen.c79 char *Shell, *value(char *); local
81 if ((Shell = value("SHELL")) == NULL || *Shell=='\0')
83 Shell = "/bin/sh";
85 Shell = "/usr/bin/sh";
100 (void) execlp(Shell, Shell, "-c", cmd, (char *)0);
101 perror(Shell);
H A Dcmd4.c70 char *Shell; local
116 if ((Shell = value("SHELL")) == NOSTR || *Shell=='\0')
117 Shell = SHELL;
118 execlp(Shell, Shell, "-c", cmd, 0);
119 perror(Shell);
H A Dcmd3.c87 char *Shell; local
93 if ((Shell = value("SHELL")) == NOSTR || *Shell=='\0')
94 Shell = SHELL;
104 execlp(Shell, Shell, "-c", cmd, (char *)0);
105 perror(Shell);
132 char *Shell; local
134 if ((Shell = value("SHELL")) == NOSTR || *Shell
[all...]
H A Dcollect.c391 * Shell escape, send the balance of the
888 char *Shell; local
898 if ((Shell = value("SHELL")) == NULL || *Shell=='\0')
899 Shell = SHELL;
900 execlp(Shell, Shell, "-c", ecmd, NULL);
1002 char *Shell; local
1020 if ((Shell = value("SHELL")) == NULL || *Shell
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dcmds.c883 char *cp, *Shell; local
895 Shell = value(SHELL);
896 if (Shell == NOSTR)
897 Shell = "/bin/sh";
903 (void) execl(Shell, Shell, "-c", cmdbuf, 0);
/illumos-gate/usr/src/cmd/cron/
H A Dat.c138 static char *Shell; variable
410 fprintf(stderr, gettext(WARNSHELL), Shell);
609 Shell = shell = "/bin/csh";
611 Shell = shell = "/bin/ksh";
614 Shell = shell = "/bin/sh";
616 } else if (((Shell = val = getenv("SHELL")) != NULL) &&
624 Shell = shell = _PATH_BSHELL;
/illumos-gate/usr/src/cmd/bnu/
H A Dcu.c206 Shell; /* pid for escape process */ variable
907 Shell = fk;
963 Shell = 0;
1592 if ( Shell > 0 )
1593 while ((obit = wait(&status)) != Shell) {

Completed in 91 milliseconds