X-Git-Url: https://code.delx.au/youtube-cgi/blobdiff_plain/c8c1dd3e28a11753a9e49b6c377a0e332180b77d..d88238ba4df834947fb3681c854093358696daaf:/youtube.cgi diff --git a/youtube.cgi b/youtube.cgi index 263259c..45c8574 100755 --- a/youtube.cgi +++ b/youtube.cgi @@ -153,7 +153,9 @@ def decode_signature(js_url, s): func_block = script[p1:p2+1] p = subprocess.Popen( - ["js"], + "js", + shell=True, + close_fds=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE )