Try exec("q"); with the quotes. It works for me on the same OS.
or simply drop the variable altogether:
<?php
...
exec("HOME=/home/stream /usr/local/bin/liquidsoap -d
--errors-as-warnings --debug > /home/stream/log 2>&1");
?>
Regards,
kronos
On Thu, 27 Mar 2014 09:48:09 -0400, [email protected] <[email protected]>
wrote:
> Hello!
>
> I'm trying to start liquidsoap via PHP script. My command looks like:
> $q = "HOME=/home/stream /usr/local/bin/liquidsoap -d
> --errors-as-warnings --debug > /home/stream/log 2>&1";
> shell_exec($q);
>
> Liquidsoap puts to log an error:
> Fatal error: exception Not_found
>
> I tried also running it using tmux & screen. Same result. When I am
> using php-cli it works good. I found that:
> http://dev.sourcefabric.org/browse/LS-167
> and it didn't work for me.
>
> I am using FreeBSD 10, what can be wrong?
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
--
Using Opera's mail client: http://www.opera.com/mail/
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users