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

/haiku/src/bin/network/telnet/
H A Dcommands.c1373 const char *shellp, *shellname;
1375 shellp = getenv("SHELL");
1376 if (shellp == NULL)
1377 shellp = "/bin/sh";
1378 if ((shellname = strrchr(shellp, '/')) == 0)
1379 shellname = shellp;
1383 execl(shellp, shellname, "-c", &saveline[1], (char *)0);
1385 execl(shellp, shellname, (char *)0);
1367 const char *shellp, *shellname; local

Completed in 43 milliseconds