spawn-proxy
v0.2.0
Published
A simple wrapper over `child_process.spawn()` ## Example usage
Downloads
2
Readme
spawn-proxy
A simple wrapper over child_process.spawn()
Example usage
TypeScript
import { spawnProxy: $ } from 'spawn-proxy';
$.ls['-al']({
stdio: ['ignore', process.stdout, process.stderr],
}).then(
() => console.log('done'),
error => console.log({ error })
);
JavaScript
const { spawnProxy: $ } = require('spawn-proxy');
$.ls['-al']({
stdio: ['ignore', process.stdout, process.stderr],
}).then(
() => console.log('done'),
error => console.log({ error })
);