Using shared memory to communicate between two executables or processes, for Windows, Linux and MacOS (posix). Can also be useful for remote visualization/debugging.
mkdir build cd build cmake ..
Run the shared_memory_server in one terminal window. Then run the shared_memory_client in another window.
If all goes well, the server will receive a command and print a confirmation.