-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
destroyOnExit
default forwarding, make destroy recursive by def…
…ault (#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
- Loading branch information
Showing
6 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters