[
https://issues.apache.org/jira/browse/DAFFODIL-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence resolved DAFFODIL-3055.
--------------------------------------
Resolution: Fixed
Fixed in commit 31ab54e89b0e9cf50e70c62f503d85c9e402a8c2
> Update release-candidate actionto use getExecOutput instead of exec
> -------------------------------------------------------------------
>
> Key: DAFFODIL-3055
> URL: https://issues.apache.org/jira/browse/DAFFODIL-3055
> Project: Daffodil
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Steve Lawrence
> Assignee: Steve Lawrence
> Priority: Major
> Fix For: 4.1.0
>
>
> When we need to capture the stdout of a command in the release-candidate
> github action, we currently call exec with a custom stdout handler which
> copies stdout to a mutable variable. But github exec module already provides
> a getExecOutput function that does the exact same thing and returns stdout
> (and stderr and exit code) in an object. We should just use that to simplify
> our code and remove a number of mutable variables.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)