git ssb

0+

cel-desktop / ssb-pkg



Tree: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44

Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / 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