pidcat icon indicating copy to clipboard operation
pidcat copied to clipboard

Fix Issue #178 and bump version to 2.1.1

Open ozziefallick opened this issue 2 years ago • 6 comments

ozziefallick avatar Mar 08 '22 19:03 ozziefallick

(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

barnhill avatar Mar 24 '22 14:03 barnhill

(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.

oscarnylander avatar Mar 25 '22 13:03 oscarnylander

I guess I could install python2 to the Mac again. Marcos 12.3 removed it by default.

barnhill avatar Mar 25 '22 22:03 barnhill

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: @.***>

ozziefallick avatar Mar 26 '22 03:03 ozziefallick

With python3 the package filter was not working for me.

barnhill avatar Mar 26 '22 03:03 barnhill

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)

liudengyong avatar Sep 30 '22 09:09 liudengyong