Spawn shell commands with Promises.
$ npm install prawner
const prawner = require('prawner');
await prawner('uname -sm'); // 'Linux x86_64'
await prawner('foobar').catch(err => {
// Error: '/bin/sh: foobar: command not found'
});
This software is released under the terms of the MIT license. See LICENSE
.