Fixed: Set process name (fixes the <Unknown> under Linux and OS X)

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 19cbbb2bec
commit 4c0fc6074f

@ -545,6 +545,9 @@ int main(int argc, char **argv)
strcpy(filename, argv[0]);
// set process name for logs
CLog::setProcessName(filename);
// ignore signal SIGPIPE generated by libwww
signal(SIGPIPE, sigHandler);

Loading…
Cancel
Save