The cmd.split() does not work:
cmd = f'git log --all --grep="fixed bug" --pretty="%H|%an"'
process = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Generate this error:
With this code instead it works.
cmd = f'git log --reverse --pretty=format:"%H|%an|%at"'
It is not a problem of "bugs" because leaving only "fixed" does not generate anything. In addition, these 2 words are present in commits. I'm afraid it's a "--grepp" problem.