You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix destroyOnExit default forwarding, make destroy recursive by default (#359)
* Previously a bunch of `bincompat` forwarders were incorrectly setting
`destroyOnExit = false` when the default is `true`, this makes them
consistently pass `destroyOnExit = false` when an explicit value is not
provided
* `os.proc.call` was forgetting to forward `shutdownGracePeriod` and
`destroyOnExit` to the underlying `os.proc.spawn`
* `SubProcess#destroy` was not destroying descendent processes. While
this has always been the default, it has always been confusing, and
often resulted in leaking orphan processes. This PR makes it recursively
destroy child processes by default, unless passed `recursive = false`.
`destroyOnExit` and on timeout now is always recursive
Dropping Scala-Native support for now due to:
```
os.native[2.12.17].test.nativeLink scala.scalanative.linker.LinkingException: Unreachable symbols found after classloading run. It can happen when using dependencies not cross-compiled for Scala Native or not yet ported JDK definitions.
````
Will open an issue to figure it out asynchronously
0 commit comments