summaryrefslogtreecommitdiff
path: root/doc/background.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
commit77a47b2c5e7c3243743bd8d7594366f498e9cef7 (patch)
treefb807c0b0c20db34f5108df67da6b4d64e5bc8e6 /doc/background.html
parent3fde941ae33bd70edf015b3c72997aef703ebf6d (diff)
downloadexecline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.tar.xz
More modifications, and doc change
Diffstat (limited to 'doc/background.html')
-rw-r--r--doc/background.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/background.html b/doc/background.html
index 8656b04..f06de3d 100644
--- a/doc/background.html
+++ b/doc/background.html
@@ -3,9 +3,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en" />
- <title>execline: the background command</title>
- <meta name="Description" content="execline: the background command" />
- <meta name="Keywords" content="execline command background" />
+ <title>execline: the &amp; command</title>
+ <meta name="Description" content="execline: the &amp; command" />
+ <meta name="Keywords" content="execline command &amp;" />
<!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
</head>
<body>
@@ -16,9 +16,9 @@
<a href="//skarnet.org/">skarnet.org</a>
</p>
-<h1> The <tt>background</tt> program </h1>
+<h1> The <tt>&amp;</tt> program </h1>
-<tt>background</tt> launches a command in the background, then goes on
+<tt>&amp;</tt> launches a command in the background, then goes on
with the execution flow.
<h2> Interface </h2>
@@ -28,11 +28,11 @@ with the execution flow.
</p>
<pre>
- background [ -d ] { <em>prog1...</em> } <em>prog2...</em>
+ &amp; [ -d ] { <em>prog1...</em> } <em>prog2...</em>
</pre>
<ul>
- <li> <tt>background</tt> reads a <em>prog1...</em> command in a
+ <li> <tt>&amp;</tt> reads a <em>prog1...</em> command in a
<a href="el_semicolon.html">block</a> and unquotes it. </li>
<li> It spawns a child executing <em>prog1...</em>. </li>
<li> It sets the <tt>!</tt> environment
@@ -44,13 +44,13 @@ variable to the pid of the <em>prog1...</em> process. </li>
<ul>
<li> <tt>-d</tt>&nbsp;: doublefork. If the <tt>-d</tt> option is set,
-<em>prog1...</em> will run as a grandchild of <tt>background</tt>. </li>
+<em>prog1...</em> will run as a grandchild of <tt>&amp;</tt>. </li>
</ul>
<h2> Notes </h2>
<ul>
- <li> <tt>background <em>prog1...</em> "" <em>prog2...</em></tt> is
+ <li> <tt>&amp; <em>prog1...</em> "" <em>prog2...</em></tt> is
equivalent to <tt>sh -c '<em>prog1...</em> & ; exec <em>prog2...</em>'</tt>. </li>
</ul>