Changeset 3475 for trunk/src/kash/eval.c
- Timestamp:
- Sep 16, 2020, 11:18:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/eval.c
r3458 r3475 1012 1012 exitshell(psh, psh->exitstatus); 1013 1013 } 1014 if (savecmdnamemalloc)1014 else if (savecmdnamemalloc) 1015 1015 sh_free(psh, savecmdname); 1016 1016 if (e != -1) { … … 1041 1041 setvareq(psh, sp->text, VEXPORT|VSTACK); 1042 1042 envp = environment(psh); 1043 shellexec(psh, args->argv, envp, args->path, args->cmdentry.u.index); 1043 shellexec(psh, args->argv, envp, args->path, 1044 args->cmdentry.u.n.index, args->cmdentry.u.n.suffix); 1044 1045 break; 1045 1046 } … … 1421 1422 for (sp = psh->cmdenviron; sp; sp = sp->next) 1422 1423 setvareq(psh, sp->text, VEXPORT|VSTACK); 1423 shellexec(psh, argv + 1, environment(psh), pathval(psh), 0 );1424 shellexec(psh, argv + 1, environment(psh), pathval(psh), 0, -1); 1424 1425 } 1425 1426 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.