php : Capturing the command output

前端 未结 3 653
借酒劲吻你
借酒劲吻你 2020-12-05 15:20

I am using exec function to execute the specific executable files in php .

exec ( $file , $output , $return_value  ) ;

When the given fil

3条回答
  •  自闭症患者
    2020-12-05 15:47

    If you need to keep stderr and stdout separate, try proc_open: http://php.net/manual/en/function.proc-open.php

提交回复
热议问题