Hot answers tagged


Unlike redirections on other commands, redirections on the exec builtin may be closed when the shell executes an external program. POSIX allows both behaviors. Ksh (both ATT ksh, and pdksh and mksh) close these descriptors when they execute an external utility (i.e. for a redirection on the exec builtin, after calling dup2 to perform the redirection, they ...

Only top voted, non community-wiki answers of a minimum length are eligible