/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
from subprocess import Popen from subprocess import PIPE bla = Popen(["ls", "-l"], stdout=PIPE).communicate()[0]
URL: http://docs.python.org/library/subprocess.html