5 return str(subprocess
.Popen(line
.split(" "), stdout
=subprocess
.PIPE
).communicate()[0], "ascii")
8 sp
= subprocess
.Popen(line
.split(" "), stdout
=subprocess
.PIPE
)
9 dt
= sp
.communicate()[0]
10 assert(sp
.returncode
== 0)
14 ldat
= line
.split(" ")
15 if line
.find("BASHHACK") != -1:
16 ldat
= ["bash", "-c", line
.split(" ", 1)[1]]
18 sp
= subprocess
.Popen(ldat
, stdout
=subprocess
.PIPE
, stderr
=subprocess
.PIPE
)
19 so
, se
= sp
.communicate()