Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-50-spawn / test-spawnSync.js
286 bytesRaw
1 | |
2 | |
3 | 'use strict'; |
4 | |
5 | var spawnSync = require('child_process').spawnSync; |
6 | |
7 | var child = spawnSync( |
8 | process.execPath, [ |
9 | require.resolve('./test-spawnSync-child.js'), 'argvx', '--argvy' |
10 | ], { stdio: 'inherit' } |
11 | ); |
12 | |
13 | console.log('Child exited with code', child.status); |
14 |
Built with git-ssb-web