Files
handbrake-cluster-webui/lib/HandBrakeCluster/BackgroundTask.class.php
Ben Roberts 76f2c4790d Reorganised code layout
Separated class library and web interface code
Added a common config/database config to be referenced by all
subprojects

Fixed previous commit
2010-08-14 15:36:31 +01:00

17 lines
268 B
PHP

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