diff options
Diffstat (limited to 'doc/background.html')
-rw-r--r-- | doc/background.html | 18 |
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 & command</title> + <meta name="Description" content="execline: the & command" /> + <meta name="Keywords" content="execline command &" /> <!-- <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>&</tt> program </h1> -<tt>background</tt> launches a command in the background, then goes on +<tt>&</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> + & [ -d ] { <em>prog1...</em> } <em>prog2...</em> </pre> <ul> - <li> <tt>background</tt> reads a <em>prog1...</em> command in a + <li> <tt>&</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> : 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>&</tt>. </li> </ul> <h2> Notes </h2> <ul> - <li> <tt>background <em>prog1...</em> "" <em>prog2...</em></tt> is + <li> <tt>& <em>prog1...</em> "" <em>prog2...</em></tt> is equivalent to <tt>sh -c '<em>prog1...</em> & ; exec <em>prog2...</em>'</tt>. </li> </ul> |