File: exec.txt

package info (click to toggle)
fish 1.23.0-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,416 kB
  • ctags: 2,503
  • sloc: ansic: 35,998; sh: 2,818; makefile: 566
file content (15 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\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.