File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
#
12
12
# ----------------------------------------------------------------------------
13
13
from __future__ import print_function
14
+
14
15
import bisect
15
16
import os
16
17
import re
@@ -646,10 +647,9 @@ def run():
646
647
... // End:
647
648
... ''')
648
649
>>> long_output.flush()
649
- >>> long_output_result = subprocess.check_output(sys.executable + ' ' +
650
- ... __file__ + ' ' + long_output.name + ' -- ' + "echo '" +
651
- ... long_output.name + ":112:27: error:'",
652
- ... shell=True).rstrip()
650
+ >>> long_output_result = subprocess.check_output([sys.executable,
651
+ ... __file__, long_output.name, '--',
652
+ ... 'echo', long_output.name + ':112:27: error:']).rstrip()
653
653
>>> print(long_output_result)
654
654
/public/core/Map.swift.gyb:117:27: error:
655
655
>>> target1.close()
You can’t perform that action at this time.
0 commit comments