Imports all generic classes from the RippingCluster project, with any ripping-specific code stripped out. Tested against a dummy project for errors.
17 lines
265 B
PHP
17 lines
265 B
PHP
<?php
|
|
|
|
class Sihnon_BackgroundTask {
|
|
|
|
protected function __construct() {
|
|
|
|
}
|
|
|
|
public static function run($command) {
|
|
$pipes = array();
|
|
$pid = proc_open($command . ' &', array(), $pipes);
|
|
proc_close($pid);
|
|
}
|
|
|
|
};
|
|
|
|
?>
|