Wraps child_process.exec, returning a promise.