summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/stdlib/system.311
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/system.3 b/src/lib/libc/stdlib/system.3
index 878bb0a9d2..bdd94c0115 100644
--- a/src/lib/libc/stdlib/system.3
+++ b/src/lib/libc/stdlib/system.3
@@ -29,9 +29,9 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: system.3,v 1.13 2013/07/18 10:14:50 schwarze Exp $ 32.\" $OpenBSD: system.3,v 1.14 2016/02/05 18:09:19 espie Exp $
33.\" 33.\"
34.Dd $Mdocdate: July 18 2013 $ 34.Dd $Mdocdate: February 5 2016 $
35.Dt SYSTEM 3 35.Dt SYSTEM 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -107,3 +107,10 @@ string.
107Shell meta-characters present will be honored by the 107Shell meta-characters present will be honored by the
108.Xr sh 1 108.Xr sh 1
109command interpreter. 109command interpreter.
110.Pp
111It is often simpler to bypass the shell and run an external command using
112.Xr fork 2 ,
113.Xr execlp 3 ,
114and
115.Xr waitpid 2
116directly instead of having to sanitize a string for shell consumption.