Skip to content

Commit

Permalink
Merge pull request #1 from Kallys/patch-1
Browse files Browse the repository at this point in the history
Update Downloader.php
  • Loading branch information
greathappyforest committed Dec 14, 2017
2 parents 44dc314 + 1fb1bb0 commit ebbdcee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ private function do_download($url, $formats=array())
$cmd .= " ".escapeshellarg($url);

$cmd .= " --restrict-filenames"; // --restrict-filenames is for specials chars
$cmd .= " " . $this->get_post_processor();
$cmd .= " > /dev/null & echo $!";

shell_exec($cmd);
Expand Down

0 comments on commit ebbdcee

Please sign in to comment.