Give processes a better name, clusterioMaster and clusterioClient

This commit is contained in:
Danielv123 committed 2017-10-29 09:37:13 +01:00
1 parent 869b5f9ced
commit a7474fdb86
2 files changed
+9

No files matched your search

+5
View File
@@ -33,6 +33,11 @@ if (!fs.existsSync("./sharedMods/")) {
const instance = process.argv[3];
const instancedirectory = './instances/' + instance;
const command = process.argv[2];
// Set the process title, shows up as the title of the CMD window on windows
// and as the process name in ps/top on linux.
process.title = "clusterioClient "+instance;
var instanceInfo = {};
// function to handle sending commands into the game
+4
View File
@@ -1,3 +1,7 @@
// Set the process title, shows up as the title of the CMD window on windows
// and as the process name in ps/top on linux.
process.title = "clusterioMaster";
// configgy stuff
debug = false;