FIX: getCommandOutput exec thread#2414
Conversation
|
Just a small heads up that this file |
|
@cortinico I didn't familiarize myself with new autolinking implementation in Core yet, but does it make sense to re-apply this PR in Core? If not, it doesn't make sense to merge this kind-of improvement here. |
|
Would appreciate merging this at least in a small minor version bump since it affects edge cases, currently using patch package for this :) |
Inside core we already use I think as @admirsaheta said, it probably makes sense to backport this to 13.x/12.x only if any |
|
Alright, @cortinico do you mind reviewing these changes? 🙏 |
|
@szymonrybczak yup
@admirsaheta what was the issue exactly? Can you provide a stacktrace or error message? |
|
Yes, exact: |
|
Cool so we can merge this and backport it to previous versions |
|
hey @admirsaheta, it looks like this Pull Request broke our E2E tests on Windows... Are you able to take a look at it? 🙏 Also could please create PRs with same fix for older branches |
Summary:
While working on a react-native project I've encountered an error comming from
native_modules.gradleupon running gradle sync which was caused by theexecmethod not re-running threads asynchronously, usingProcessBuilderprovides a better way of approaching this issue.Test Plan:
getCommandOutputmethodChecklist