mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 22:16:00 -04:00
Add passthru delegate and avconv support.
This commit is contained in:
parent
365b6d8019
commit
08e18b40b5
5 changed files with 18 additions and 3 deletions
|
@ -77,8 +77,14 @@ function exec_cmd($cmd) {
|
|||
$lines = array();
|
||||
$rc = null;
|
||||
exec($cmd, $lines, $rc);
|
||||
return implode("\n", $lines);
|
||||
}
|
||||
|
||||
return implode('\n', $lines);
|
||||
function passthru_cmd($cmd) {
|
||||
|
||||
$rc = null;
|
||||
passthru($cmd, $rc);
|
||||
return $rc;
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue