Closed JosephMillsAtWork closed 4 months ago
Patchfile.
After testing the above patch , sadly it is still not working. Moving over to subprocess.DEVNULL seemed to do the trick. Attached is a patch. quiet-downnow-process.txt
Thanks for reporting and working on this! Just please have a look at https://github.com/siemens/kas/blob/master/CONTRIBUTING.md as well in order to get your patch into the final shape in the right channel.
@JosephMillsAtWork Please have a look at this patch. That should also fix the issue you reported. If you like to get a Reported-by:
, please just answer on that mail and add the Reported-by:
line.
Fixed in dbd32b047606c121a48a023eb29b6d1b75c61d04
Example:
Say I have set the SSH_PRIVATE_KEY or SSH_PRIVATE_KEY_FILE in the env for an CI. In my CI, I would like to gather information from bitbake. Or maybe I want to dump the output from
kas dump
to a file.expected output
received output
This will also have the unset parts in it at the top.
proposed change is to add stdout=DEVNULL in libkas.py->ssh_cleanup_agent.
Thanks for your time.