Re: Running a command without shell
| From: | Marco Behnke | Date: | Thu, 10 Oct 2013 08:34:51 +0000 |
| Subject: | Re: Running a command without shell | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322270@lists.php.net to get a copy of this message | ||
Sound like declaring an output buffer to me?
Am 29.09.2013 12:52, schrieb vitalif@yourcmc.ru:
Attachment: [application/pkcs7-signature] S/MIME Kryptografische Unterschrift smime.p7s
Hi! Is it possible to run a command and capture its output via an FD (like in proc_open()), but without using the shell? As far as I can see now there is no way to do it. I think that's a simple feature, maybe just add it to proc_open()? (for example run command directly using exec() if the first argument is an array?) it would be rational because there is already such option for Windows...-- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: marco@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz
Attachment: [application/pkcs7-signature] S/MIME Kryptografische Unterschrift smime.p7s