Skip to content

Conversation

@kipuki
Copy link
Owner

@kipuki kipuki commented Apr 26, 2025

Refers to this issue: #1

Linux compatibility was properly added along with tests.

Changes:

  • Whether the process is in the Zombie state is now considered when is_running() is called. This prevents infinite yield when waiting for a process to stop.
  • Close/Terminate logic was changed to forcefully close a process if it does not close in time.
  • Restarting a process now returns the new process.

Testing:

  • Tests were rewritten to support both Windows & Linux.
  • All tests passed successfully for both Windows & Linux.

kipuki added 5 commits April 26, 2025 08:48
is_running() now includes a check to see if the process is a zombie, something exclusively on Linux.
close() now waits for the process to be closed and handles timeout.
Previously, the tests relied on a local copy of the project source. Now the source is installed as a package. This helped make the code cleaner.
@kipuki kipuki self-assigned this Apr 26, 2025
@kipuki kipuki merged commit 1316d53 into main Apr 26, 2025
1 check passed
@kipuki kipuki mentioned this pull request Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants