MCEvalBot/run.js
2021-03-24 22:32:31 +00:00

14 lines
No EOL
309 B
JavaScript
Executable file

var process = require("child_process")
function start(){
var proc = process.exec("node . " + require("process").argv[2])
proc.on("close",function(){
proc.kill()
start()
})
proc.stdout.on("data",function(chunk){
require("process").stdout.write(chunk)
})
}
start()