Calling a python olympe script using PHP

hi
am doing a html interface that has button which uses php to call a python script
the problem is calling the olympe python shell environment using php
and then executing the script is not responding

<?php
exec('source ~/code/parrot-groundsdk/./products/olympe/linux/env/shell | python /var/www/ok.com/streaming.py');
?>

This topic was automatically closed after 30 days. New replies are no longer allowed.