Skip to content

Conversation

@lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Oct 20, 2024

Fixes #3772.

Most of the various spawning helpers should be consolidated into four: {call,spawn}{Subprocess,Classloader}.

The Subprocess method signatures should roughly follow the OS-Lib equivalents, with minimal tweaks to accommodate JVM-specific use cases (e.g. main methods, classpaths)

The Classloader methods should mostly just take a classpath and give you a classloader to work with

The new Thread("subprocess-shutdown") logic probably should be pushed upstream com-lihaoyi/os-lib#324

@lihaoyi lihaoyi marked this pull request as draft October 20, 2024 12:48
lihaoyi added a commit that referenced this pull request Oct 21, 2024
Fixes #3794

It's still pretty messy, but i'm just documenting the existing APIs that
already exist, and at least it provides a paved path for people to get
_something_ working. Cleaning them up can come separately in
#3775
@lihaoyi lihaoyi closed this Feb 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.

Clean up Jvm.* subprocess/inprocess APIs (500USD Bounty)

1 participant