diff --git a/proj/y2t/handler.php b/proj/y2t/handler.php index 31607ca..ed04a87 100644 --- a/proj/y2t/handler.php +++ b/proj/y2t/handler.php @@ -21,9 +21,13 @@ echo $lang; echo nl2br("\n"); - exec("python3 y2t.py $ulr $lang", $output, $return_code); + exec("python3 y2t.py $ulr $lang", $output, $return); echo nl2br("executing the thing\n"); - wait($return_code); + //wait($return_code); + + var_export($output); + var_export($ret); + echo nl2br("wait is over, here is the output:\n"); echo $output; echo nl2br("\n END OF THE OUTPUT");