Python subprocess interface
