The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Shell builtin exec
@ 2019-08-20 21:10 Adam Thornton
  2019-08-20 22:00 ` Warren Toomey
  2019-08-21  0:38 ` Chet Ramey
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Thornton @ 2019-08-20 21:10 UTC (permalink / raw)
  To: The Eunuchs Hysterical Society

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

This is probably the place to ask:

I understand why the shell builtin "exec" is the same as the syscall exec()
in the sense of "replace this process with that one."  But why is it also
the way to redirect filehandles in the current shell?  (That is, why isn't
the redirection named something else?)

Adam

[-- Attachment #2: Type: text/html, Size: 421 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-21  0:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 21:10 [TUHS] Shell builtin exec Adam Thornton
2019-08-20 22:00 ` Warren Toomey
2019-08-21  0:38 ` Chet Ramey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).