A promise shell.
$ npm install prosh
import prosh from 'prosh'
import co from 'co'
co(function * () {
yield prosh(`
echo "hello world"
echo "hello world"
`)
})
command
- command string the same way you would write it in a shell
Returns: a promise the resolves {code, output, time}, where code
is exit code, output
is stdout and stderr and time
is run time
MIT