From 3678d8ea0e4c92a88da3bbca6d17ff401c4cd5e9 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 26 Jul 2021 12:40:39 +0200 Subject: [PATCH] shell_exec may return false(#821) --- reference/exec/functions/shell-exec.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/exec/functions/shell-exec.xml b/reference/exec/functions/shell-exec.xml index 5595f01c247e..bbcf23cef21d 100644 --- a/reference/exec/functions/shell-exec.xml +++ b/reference/exec/functions/shell-exec.xml @@ -45,8 +45,9 @@ &reftitle.returnvalues; - The output from the executed command or &null; if an error occurred or the - command produces no output. + The output from the executed command, &false; if the pipe can't be established + or &null; if an error occurred or the command produces no output. When &false; + is returned, an error of level E_WARNING is also generated.