src/Dcarrith/LxMPD/LxMPD.php
public function start( $binary = null, $conf = null ) {

		Log::info( 'LxMPD->start', array($binary, $conf));

		// Try to spawn a new instance of mpd
		$result = exec($binary.' '.$conf.' 2>&1', $output, $code);

		Log::info( 'LxMPD->start - result', array($result));
		Log::info( 'LxMPD->start - output', array($output));
		Log::info( 'LxMPD->start - code', array($code));

		return $result;
	}
public function start( $binary = null, $conf = null ) {

		Log::info( 'LxMPD->start', array($binary, $conf));

		// Try to spawn a new instance of mpd
		$result = exec($binary.' '.$conf.' 2>&1', $output, $code);

		Log::info( 'LxMPD->start - result', array($result));
		Log::info( 'LxMPD->start - output', array($output));
		Log::info( 'LxMPD->start - code', array($code));

		return $result;
	}
public function start ( $ binary = null , $ conf = null ) { Log :: info ( 'LxMPD->start' , array ( $ binary , $ conf ) ) ; // Try to spawn a new instance of mpd $ result = exec ( $ binary . ' ' . $ conf . ' 2>&1' , $ output , $ code ) ; Log :: info ( 'LxMPD->start - result' , array ( $ result ) ) ; Log :: info ( 'LxMPD->start - output' , array ( $ output ) ) ; Log :: info ( 'LxMPD->start - code' , array ( $ code ) ) ; return $ result ; }
Start up MPD.
@param $binary
The path to the MPD binary
@param $conf
The path to the user's MPD conf file
@return result
Start up MPD .