promisify shell commands