Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
371 B
18 lines
371 B
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
var spawnSync = require('child_process').spawnSync;
|
|
var libc = require('../');
|
|
|
|
var spawnOptions = {
|
|
env: process.env,
|
|
shell: true,
|
|
stdio: 'inherit'
|
|
};
|
|
|
|
if (libc.isNonGlibcLinux) {
|
|
spawnOptions.env.LIBC = process.env.LIBC || libc.family;
|
|
}
|
|
|
|
process.exit(spawnSync(process.argv[2], process.argv.slice(3), spawnOptions).status);
|
|
|