client icon indicating copy to clipboard operation
client copied to clipboard

packaging: kill only the main Keybase process in run_keybase

Open upamanyus opened this issue 3 months ago • 0 comments

On Linux, executing run_keybase while Keybase is already running causes electron to crash consistently (because e.g. the electron/chromium gpu-process gets killed). This fixes that by more carefully killing only the main electron/Keybase process.

A previous PR (https://github.com/keybase/client/pull/17463) tried to fix this, but it used pgrep 'Keybase$' which checks for matches against the process name. Adding -f makes it match against the full command line arguments.

upamanyus avatar Sep 19 '25 19:09 upamanyus