now only one function uses Popen
now only one function uses Popen


Former-commit-id: 7cfeeb42ba7407f58c542ba8e4ed8b2691e89495 [formerly 8233e14fc43bfdd6dcbbefee4f95eb5be76596bd]
Former-commit-id: 861e84b53c9d3399f73696a12af999daa8c7c61d
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine