Answer the question
In order to leave comments, you need to log in
System not returning last line of output?
Hello.
When executed in a script
$result_load = system("/usr/bin/wget -i $from -nH -r --cut-dirs=2 --directory-prefix=$to -nc");
var_dump($result_load);
$result_load = system("/usr/bin/wget -i $from -nH -r --cut-dirs=2 --directory-prefix=$to -nc", $output);
var_dump($output);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question