fork download
  1. from subprocess import call
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12. print(call(["ls", "-l"]))
Success #stdin #stdout 0.03s 9344KB
stdin
Standard input is empty
stdout
total 4
-rw-r--r-- 1 root 110 182 2014-01-07 01:27 prog
0