artefactual/archivematica — pull request #16 by mistydemeo (2014-02-14 23:42:54+00:00)
Title: executeOrRun: allow file objects as stdIn

Previously, executeOrRun only allowed strings to be passed as stdin to launched subprocesses. However, the underlying `subprocess` module allows arbitrary `file` objects to be passed. This allows for a secure way to pipe data into processes without needing to invoke a subshell.