I am trying to execute python script from PHP.
<?php
$asd = "Mashwani";
$command = "test.py $asd";
$output = passthru($command);
?>
In python:
import sys
print(sys.argv)
This shows me just first argument i.e ['C:\xampp\htdocs\test.py'] but sencond atgument isn't shown. I also tried exec(), shell_exec() instead of passthru()