Searched refs:shellstring (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 1299 char *shellstring, *namep; in shell() local 1309 shellstring = getenv("SHELL"); in shell() 1310 if (shellstring == NULL) in shell() 1311 shellstring = "/bin/sh"; in shell() 1312 namep = rindex(shellstring, '/'); in shell() 1314 namep = shellstring; in shell() 1317 (void) printf("%s -c %s\n", shellstring, in shell() 1321 execl(shellstring, namep, "-c", altarg, (char *)0); in shell() 1324 (void) printf("%s\n", shellstring); in shell() 1327 execl(shellstring, namep, (char *)0); in shell() [all …]
|