mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 06:46:12 +08:00
495460066c
darcs-hash:20060123231706-35ec8-2a30db603eee503d944b06d101cc88ce59340309.gz
17 lines
494 B
Plaintext
17 lines
494 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.
|