Improve ExecProcess Lombok accessors and unit tests#7565
Merged
Conversation
Signed-off-by: lance <leehaut@gmail.com>
mattcasters
added a commit
that referenced
this pull request
Jul 20, 2026
… exec (#7584) * issue #7582 : fix IT write permissions and ExecProcess single-command exec Harden integration-test Docker prep so project output/, files/, and roots are writable under the container UID, and move generated spreadsheet/MDI/ parquet/http artifacts into world-writable output/ paths (with golden data and gitignore updates). Also restore Runtime.exec(String) for ExecProcess single-command mode so command lines are tokenized again (#7565 regression). * issue #7582 : adopt StringTokenizer-based ExecProcess fix from #7581 Use explicit whitespace tokenization before Runtime.exec(String[]) for single-command mode (avoids the deprecated String overload), and add a unit test for tokenizeCommandLine. Credit: @leehaut in #7581.
mattcasters
added a commit
to hansva/hop
that referenced
this pull request
Jul 20, 2026
Match historical Runtime.exec(String) whitespace tokenization via StringTokenizer before exec(String[]), so single-command fields like "/bin/echo hop-single" work again. Based on @leehaut's fix in apache#7581.
5 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ExecProcessMeta,EPField, andProcessResultwith Lombok@Getter/@SetterProcessResultexit-status accessors from the misleadingExistStatusnames togetExitValue()/setExitValue(), and updateExecProcessaccordinglyExecProcessMeta, and addProcessResultTestplusExecProcessDataTest