quickemu-project / quickgui

An elegant virtual machine manager for the desktop
MIT License
993 stars 78 forks source link

fix: check for running VM processes using kill -0 #182

Closed flexiondotorg closed 4 months ago

flexiondotorg commented 4 months ago

Description

Change how VM processes are inspected to test if they are running but using kill -0 <pid>. Use kill -0 is portable between macOS and Linux and the BSD and GNU tools. quickemu also uses kill -0, which was introduced as part of the macOS porting work.

I've tested this on Linux to make sure there are no regressions; it needs validating on macOS.

Type of change

Checklist: