-
Notifications
You must be signed in to change notification settings - Fork 23
/
start.js
39 lines (30 loc) · 964 Bytes
/
start.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
var process = require("child_process");
var path = require("path");
//var args = ["--debug", "--project"]
var args = []
console.log("======== badjs-acceptor ===========")
process.fork(path.join(__dirname, "badjs-acceptor", "app.js"), args)
setTimeout(function () {
console.log(" ")
console.log(" ")
console.log(" ")
console.log(" ")
console.log("========== badjs-mq =========")
process.fork(path.join(__dirname, "badjs-mq", "app.js"), args)
}, 2000)
setTimeout(function () {
console.log(" ")
console.log(" ")
console.log(" ")
console.log(" ")
console.log("========= badjs-storage ==========")
process.fork(path.join(__dirname, "badjs-storage", "app.js"), args)
}, 4000)
setTimeout(function () {
console.log(" ")
console.log(" ")
console.log(" ")
console.log(" ")
console.log("========== badjs-web =========")
process.fork(path.join(__dirname, "badjs-web", "app.js"), args)
}, 6000)