mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-12 07:57:22 +00:00
7a5823fd60
darcs-hash:20060919145203-ac50b-bc87b8f5e6a18395e4bc3e364da4a40ad97850e7.gz
15 lines
493 B
Text
15 lines
493 B
Text
\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.
|