projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgraded drupal core with security updates
[yaffs-website]
/
node_modules
/
flagged-respawn
/
test
/
bin
/
signal.js
1
#!/usr/bin/env node
2
3
const flaggedRespawn = require('../../');
4
5
flaggedRespawn(['--harmony'], process.argv, function (ready, child) {
6
7
if (ready) {
8
setTimeout(function() {
9
process.exit();
10
}, 100);
11
} else {
12
console.log('got child!');
13
child.kill('SIGHUP');
14
}
15
16
});