git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / test / test-79-npm / cross-spawn-async / cross-spawn-async.js

315 bytesRaw
1'use strict';
2
3var fs = require('fs');
4var path = require('path');
5var spawn = require('cross-spawn-async');
6var bin = path.join(__dirname, 'fixture.js');
7var args = [];
8
9if (process.pkg) {
10 args.unshift(bin);
11 bin = process.execPath;
12} else {
13 fs.chmodSync(bin, 511);
14}
15
16spawn(bin, args, { stdio: 'inherit' });
17

Built with git-ssb-web