Advertisement
Afaeld

Untitled

Sep 25th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. <?php
  2. $ld = "/usr/lib64/python2.6";
  3. putenv("LD_LIBRARY_PATH=$ld");
  4. $entry_id = $_GET["entry_id"];
  5. $planId = $_GET["plan_id"];
  6. echo($entry_id);
  7. $output = shell_exec("python [Path of the duplicateTestRuns python file] ".$entry_id." ".$planId." 2>&1");
  8. echo($output);
  9.  
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement