fix: electron (#685)
fix: electron (#685)

* workaround process name mangling by chromium

rcl logging uses `program_invocation_name` to determine the log file,
chromium mangles the program name to include all args, this causes a
ENAMETOOLONG error when starting ros. Workaround is to replace the first
occurence of ' -' with the null terminator. see:
https://unix.stackexchange.com/questions/432419/unexpected-non-null-encoding-of-proc-pid-cmdline

* fix gcc warning

* only enable workaround for linux and glibc
RobotWebTools/rclnodejs,RobotWebTools/rclnodejs,RobotWebTools/rclnodejs,RobotWebTools/rclnodejs,RobotWebTools/rclnodejs