Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pythonipc [2017/05/25 16:34]
yassine chaouche
pythonipc [2017/10/30 14:54] (current)
yassine chaouche
Line 4: Line 4:
  
 subprocess is the only one that remained non-deprecated. For POSIX systems use subprocess32,​ the backport of python 3.2 which is better. subprocess is the only one that remained non-deprecated. For POSIX systems use subprocess32,​ the backport of python 3.2 which is better.
 +
 +<​code>​
 +import subprocess
 +subprocess.call(["​ls","​-lrt","/​var/​log/"​])
 +</​code>​
  
  

QR Code
QR Code pythonipc (generated for current page)