input-remapper/keymapper/ipc
2021-03-21 19:15:20 +01:00
..
__init__.py gtk not running as root anymore 2021-03-21 19:15:20 +01:00
pipe.py gtk not running as root anymore 2021-03-21 19:15:20 +01:00
readme.md gtk not running as root anymore 2021-03-21 19:15:20 +01:00
socket.py gtk not running as root anymore 2021-03-21 19:15:20 +01:00

IPC

Since I'm not forking, I can't use the handy multiprocessing.Pipe method anymore.

Processes that need privileges are spawned with pkexec, which connect to known pipe paths to communicate with the non-privileged parent process.