fork download
  1. <?php
  2.  
  3. // your code goes here
  4. $data = array('filePath' => 'video.mov');
  5.  
  6. $result = '/usr/bin/python /home/fernando/Workspace/lab1/public_html/converter.py ' . escapeshellarg(json_encode($data));
  7.  
  8. echo $result
  9. ?>
Success #stdin #stdout 0.01s 20552KB
stdin
Standard input is empty
stdout
/usr/bin/python /home/fernando/Workspace/lab1/public_html/converter.py '{"filePath":"video.mov"}'