mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Log factorio stdout if on linux
This commit is contained in:
1 parent
2e4eb9332d
commit
80251eacae
1 file changed
+4
-3
@@ -228,10 +228,11 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
|
||||
console.log(`child process exited with code ${code}`);
|
||||
process.exit();
|
||||
});
|
||||
/*
|
||||
serverprocess.stdout.on('data', (chunk) => {
|
||||
console.log('OUT: ' + chunk);
|
||||
})*/
|
||||
if(process.platform == "linux"){
|
||||
console.log('Factorio: ' + chunk);
|
||||
}
|
||||
})
|
||||
|
||||
serverprocess.stderr.on('data', (chunk) => {
|
||||
console.log('ERR: ' + chunk);
|
||||
|
||||
Reference in new issue
Block a user