We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d95f1e2 + c18cff1 commit 0dec7f3Copy full SHA for 0dec7f3
doc/user/compatibility.md
@@ -44,7 +44,10 @@ as their semantics fundamentally do not match the technology that we are using.
44
45
You cannot `fork` the TruffleRuby interpreter. The feature is unlikely to ever
46
be supported when running on the JVM, but could be supported in the future on
47
-the SVM.
+the SVM. The correct and portable way to test if `fork` is available is:
48
+```ruby
49
+Process.respond_to?(:fork)
50
+```
51
52
#### Standard libraries
53
0 commit comments