Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
- Loading branch information
1 parent
79a496a
commit 5f890abd67ddb2326dd0cf091d01c2d4061798a9
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env node | ||
const fs = require('fs'); | ||
const execa = require('..'); | ||
|
||
const fd = fs.openSync(process.argv[2], 'w'); | ||
|
||
const cp = execa('noop', ['foo'], { | ||
detached: true, | ||
stdio: ['ignore', fd] | ||
}); | ||
cp.unref(); | ||
|
||
process.exit(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters