CycloneDX / cyclonedx-linux-generator

Lockheed Martin developed utility to generate CycloneDX SBOMs for Linux distributions
https://cyclonedx.org/
Other
39 stars 14 forks source link

Read the remainder of the process output so that it will exit #42

Closed gdgib-roche closed 8 months ago

gdgib-roche commented 2 years ago

Without this addition...

Proposed (and tested) solution: simply empty the buffer as is commonly required when using process builder.

Technically we should do the same for stderr, but I had a hard time imagining it dumping that much to stderr and wanted to keep this change small