Jump to content

EXEC error


antoniomch

Recommended Posts

I've downloaded a sourceforge project called AJAXMIXER available HERE

But it didn't work.

 

I found here was the error, but I do not know the cause..

The error is in this function:

	private function _exec ($card, $args) {
		array_unshift($args, $this->_amixer, '-c', $card);
		exec(implode(' ', array_map('escapeshellarg', $args)), $output, $return);
		if ($return != 0)
			throw new Exception('Amixer returned an error. Maybe your webuser isnt in the audio group?');
		return $output;
	}

 

The command that is executed seams to be well built, but the function returns 1, and throws an exception..

Path are ok too.

Link to comment
https://forums.phpfreaks.com/topic/194043-exec-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.