From f35761c5012ea007211f3fe403dc812c0df467f0 Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Thu, 29 Dec 2022 14:08:32 +0100 Subject: [PATCH] check --- proj/y2t/handler.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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");