From: James Bunton Date: Fri, 2 Aug 2013 15:34:53 +0000 (+1000) Subject: more convenient startup of node.js X-Git-Url: https://code.delx.au/youtube-cgi/commitdiff_plain/d88238ba4df834947fb3681c854093358696daaf more convenient startup of node.js --- 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 )