Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Crystal::System::Process.fork exists on windows
The method exists but raises NotImplementedError which causes Process.new(pid) to fail because it doesn't exist with a `PidT`). This patch fixes the issue by checking LibC.fork directly. Weirdly, both were used before these changes and compilation did succeed.
- Loading branch information