我在php文件中使用了bash文件。(要求/包括)在那之后,当我想运行bash文件,但不希望返回代码时。结果即将到来。但是,不必要的代码即将到来。
<?php
require_once("shapemorph");
ob_start();
$imageFile2 = 'one-car.jpg';
$imageFile1 = 'two-car.jpg';
shell_exec('./shapemorph -d 10 -p 100 -r "73,56 57,68" '.$imageFile2.' '.$imageFile2.' testfy.gif');
ob_end_flush();
exit;
?>
我也使用了ob_start()。但是代码仍在继续。
我不希望代码被返回。
素胚勾勒不出你