Files
handbrake-cluster-webui/lib/RippingCluster/BackgroundTask.class.php

18 lines
284 B
PHP

<?php
class RippingCluster_BackgroundTask {
protected function __construct() {
}
public static function run($command) {
$pipes = array();
$pid = proc_open($command . ' &', array(), $pipes, getcwd());
proc_close($pid);
}
};
?>