Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c1302 char *shellstring, *namep; in shell() local
1312 shellstring = getenv("SHELL"); in shell()
1313 if (shellstring == NULL) in shell()
1314 shellstring = "/bin/sh"; in shell()
1315 namep = rindex(shellstring, '/'); in shell()
1317 namep = shellstring; in shell()
1320 (void) printf("%s -c %s\n", shellstring, in shell()
1324 execl(shellstring, namep, "-c", altarg, (char *)0); in shell()
1327 (void) printf("%s\n", shellstring); in shell()
1330 execl(shellstring, namep, (char *)0); in shell()
[all …]