Lines Matching defs:shell
67 * ~![cmd] execute shell (or 'cmd') locally,
248 static char *P_Ct_EXSH = "Can't execute shell\r\n";
656 * ~! local login-style shell
825 _shell(cmd); /* local shell */
834 _shell(cmd); /*Local shell */
849 _shell(cmd); /* Local shell */
878 * The routine "shell" takes an argument starting with
880 * If $arg, arg is the name of a local shell file which
882 * If !arg, we escape to a local shell to execute arg
884 * a local shell and blind the remote line. In either
890 * Another argument to the routine "shell" may be +. If +arg,
891 * arg is the name of a local shell file which is executed with
912 char *shell;
914 if( (shell = getenv("SHELL")) == NULL)
915 /* use default if user's shell is not set */
916 shell = SHELL;
954 (void)execl(shell,shell,(char*) 0,(char*) 0,(char *) 0);
956 (void)execl(shell,"sh","-c",str,(char *) 0);