fish-shell/sphinx_doc_src/cmds/suspend.rst

15 lines
579 B
ReStructuredText
Raw Normal View History

\section suspend suspend - suspend the current shell
\subsection suspend-synopsis Synopsis
\fish{synopsis}
suspend [--force]
\endfish
\subsection suspend-description Description
`suspend` suspends execution of the current shell by sending it a
SIGTSTP signal, returning to the controlling process. It can be
resumed later by sending it a SIGCONT. In order to prevent suspending
a shell that doesn't have a controlling process, it will not suspend
the shell if it is a login shell. This requirement is bypassed
if the `--force` option is given or the shell is not interactive.