I want to run a Python script from PHP via system
with some arguments. My PHP doesn't throw any errors and $retval
is 1. But I don't see any generated output file $f1
in the current directory. Is there a chance the output file goes somewhere else?
$outp1 = system("python plain.py {$url1} {$f1}", $retval);