We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64719c0 commit cc4f9d9Copy full SHA for cc4f9d9
app.js
@@ -5,6 +5,11 @@ var path = require('path');
5
var ws = require('websocket').server;
6
var pty = require('pty.js');
7
var fs = require('fs');
8
+var waitpid = require('waitpid');
9
+
10
+process.on('SIGCHLD', function(args){
11
+ waitpid(-1);
12
+});
13
14
var opts = require('optimist')
15
.options({
package.json
@@ -5,7 +5,8 @@
"express": "3.5.1",
"websocket": "",
"pty.js": "",
- "optimist": ""
+ "optimist": "",
+ "waitpid": ""
},
"description": "Wetty = Web + tty. Terminal access in browser over http/https ",
"main": "app.js",
0 commit comments