bigint-crypto-utils/node_modules/object-to-spawn-args/example/simple.js

10 lines
173 B
JavaScript

var toSpawnArgs = require('../')
var spawn = require('child_process').spawn
var options = {
l: true,
a: true
}
spawn('ls', toSpawnArgs(options), { stdio: 'inherit' })