From d88238ba4df834947fb3681c854093358696daaf Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sat, 3 Aug 2013 01:34:53 +1000 Subject: [PATCH] more convenient startup of node.js --- youtube.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) -- 2.39.2