Calling BASH from Python: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

28 October 2011

  • curprev 10:0010:00, 28 October 2011Michael Murtaugh talk contribs 364 bytes +364 Created page with "<source lang="python"> def system_stdin_stderr (cmd, readlimitbytes=4000): p = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subproc..."