[php-src] Issue #8240: Misleading error message on popen() when /bin/sh is missing
| From: | arnaud-lb | Date: | Fri, 01 Apr 2022 16:35:04 +0000 |
| Subject: | [php-src] Issue #8240: Misleading error message on popen() when /bin/sh is missing | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240641@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8240
Comment Author: arnaud-lb
Yes, this could be a way to fix this. I want to hear from the glibc people before taking a decision.
Agreed that the documentation doesn't emphasize enough that
popen() actually
invokes a shell. As to changing the behavior I don't think it would be a good idea: it could
break people's code.
I think that currently all exec() variants invoke a shell, except
pcntl_exec().