-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
launch middle man process on macOS to workaround SIP limit
- Loading branch information
1 parent
7817e1a
commit 39bc519
Showing
2 changed files
with
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env node | ||
// Copyright (c) GitHub. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
const { spawn } = require('child_process'); | ||
var shell = process.argv[2]; | ||
var args = process.argv.slice(3); | ||
var launch = spawn(shell, args, { stdio: 'inherit' }); | ||
launch.on('exit', function (code) { | ||
if (code != 0) { | ||
process.exit(code); | ||
} | ||
}); |
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