Merge "return to using subprocess for running commands" into gingerbread