MCEvalBot/run.js

14 lines
309 B
JavaScript
Raw Normal View History

2021-03-24 18:32:31 -04:00
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()