pidcat
pidcat copied to clipboard
Fix Issue #178 and bump version to 2.1.1
(Forgive my ignorance with python) Does this change require usage of python3? If so why not update to python3 in pidcat.py? At least on the latest version of MacOS 12.3 pidcat will not run due to the removal of python2. The file pidcat.py
had to be modified along with this change to point to #!/usr/bin/env -S python3 -u
.
But now noticing that the package filtering doesnt work either when using python3
(Forgive my ignorance with python) Does this change require usage of python3? If so why not update to python3 in pidcat.py? At least on the latest version of MacOS 12.3 pidcat will not run due to the removal of python2. The file
pidcat.py
had to be modified along with this change to point to#!/usr/bin/env -S python3 -u
.But now noticing that the package filtering doesnt work either when using python3
I tried this change on Python 2.7.18, and it seemed to work fine.
I guess I could install python2 to the Mac again. Marcos 12.3 removed it by default.
AFAICT, the current version of the script should work in either python2 or python3.
On Fri, Mar 25, 2022 at 3:38 PM Brad Barnhill @.***> wrote:
I guess I could install python2 to the Mac again. Marcos 12.3 removed it by default.
— Reply to this email directly, view it on GitHub https://github.com/JakeWharton/pidcat/pull/179#issuecomment-1079493160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ34VS7NKR555WBPFZX663VBY55NANCNFSM5QHKSMNQ . You are receiving this because you authored the thread.Message ID: @.***>
With python3 the package filter was not working for me.
With python3 the package filter was not working for me.
Maybe you should change first line like this: #!/usr/bin/python3 -u
and the last line like this: print(linebuf)