Community
Participate
Working Groups
Created attachment 200452 [details] The patch described in the bug. As it stands now, when a command is run with the runCommandToInputStream method from the RPM Utilities, the process that calls the method cannot interface with the run command. This patch adds an object that extends BufferedInputStream that allows cancellation of the run command and retrieval of the command's return code.
Patch looks good. Please add the copyright header and give us an example patch of using this in specfile editor and I'll apply it.
Created attachment 201325 [details] Updated patch. Added header to BufferedProcessInputStream.java. Modified runCommand to also allow process cancellation and access to the process's return code. Implemented examples of new functionality of the utilities in retrievePackageList method and RPMExportOperation.
Created attachment 201431 [details] Updated patch. Format fix.
Works perfect. Applied in master 681e714..da10352 master -> master with cosmetic changes.