mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 06:30:47 +08:00
885d16fcd6
darcs-hash:20061031152316-ac50b-e68db9853d6e9461a0c054f1ea290704ccfc0a31.gz
16 lines
493 B
Plaintext
16 lines
493 B
Plaintext
\section exec exec - execute command in current process
|
|
|
|
\subsection exec-synopsis Synopsis
|
|
<tt>exec COMMAND [OPTIONS...]</tt>
|
|
|
|
\subsection exec-description Description
|
|
|
|
The \c exec builtin is used to replace the currently running shells
|
|
process image with a new command. On successful completion, exec never
|
|
returns. exec can not be used inside a pipeline.
|
|
|
|
\subsection exec-example Example
|
|
|
|
<tt>exec emacs</tt> starts up the emacs text editor. When emacs exits,
|
|
the session will terminate.
|