请问能否用process.platform这样的东西(nodejs中,它的值是"win32", "linux", "darwin"一类的)来确定是否在评测器而不是本地执行?也就是,评测环境是否是Linux?
2017-10-30 19:31:35
2
[{"targetid":"56c9d9c1ee79d74c2ee95ec5","type":"misc","_id":"59f5cf435a11ed72c931e016"},{"targetid":"58a6820d7f65182b044b5e40","type":"misc","_id":"59f5cf435a11ed72c931e015"},{"targetid":"58a681ca7f65182b044b5e3f","type":"misc","_id":"59f5cf435a11ed72c931e014"}]