Skip to content

Conversation

@leonvictor
Copy link

The API is copied from ChildProcess::launch

@benkuper
Copy link
Owner

benkuper commented Jul 2, 2025

why do you need that ? isn't the first argument always gonna be the executable ?
Also, if this is needed, this should first be proposed as a PR to the official JUCE repo

@leonvictor
Copy link
Author

leonvictor commented Jul 3, 2025

This allows me to pass additionnal command line arguments (it's not possible with the existing method)
First argument is the executable, second is JUCE's unique process UUID, and then any user-provided args

juce-framework#1556

@benkuper
Copy link
Owner

is this also existing on juce8_local ?

@benkuper benkuper merged commit 3b86857 into benkuper:develop-local Jul 17, 2025
1 check failed
@leonvictor
Copy link
Author

is this also existing on juce8_local ?

Not yet but I think it can be merged as is

benkuper added a commit that referenced this pull request Sep 15, 2025
Add a method to launch a child worker process while passing it additionnal command line arguments
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.

2 participants