main
Last change
on this file was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100755
|
File size:
371 bytes
|
Line | |
---|
1 | #!/usr/bin/env node
|
---|
2 |
|
---|
3 | 'use strict';
|
---|
4 |
|
---|
5 | var spawnSync = require('child_process').spawnSync;
|
---|
6 | var libc = require('../');
|
---|
7 |
|
---|
8 | var spawnOptions = {
|
---|
9 | env: process.env,
|
---|
10 | shell: true,
|
---|
11 | stdio: 'inherit'
|
---|
12 | };
|
---|
13 |
|
---|
14 | if (libc.isNonGlibcLinux) {
|
---|
15 | spawnOptions.env.LIBC = process.env.LIBC || libc.family;
|
---|
16 | }
|
---|
17 |
|
---|
18 | process.exit(spawnSync(process.argv[2], process.argv.slice(3), spawnOptions).status);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.