5 Commits
Author SHA1 Message Date
rxwen 04ca2bd219 Fix bug: may fail to get target pid
if use ps_pid.poll() to check for termination condition, there is a
    race condition. consider this, the check for ps_pid.poll() succeed
    and continue to process the output. when the output is being
    processed, the "ps_pid" process terminated, generating some more
    output, which hasn't yet been read by pidcat process. after pidcat
    continues next loop iteration, the ps_pid.poll() check terminate the
    loop, and the remaining output is lost. if the target process's pid
    is in the lost output, then the target pid can't be retrieved.
2015-09-18 16:51:22 +08:00
rxwenandJake Wharton 0ef40cce9b Add -a/--all flag for showing all logs. 2015-08-22 15:05:56 -05:00
rxwenandJake Wharton 8e326454a2 allow package filter to match pattern like: /system/bin/native_app, so that we can use it for native app
and can print log messages from all packages
2015-08-22 15:02:38 -05:00
rxwen 9965288132 fix bug in _pidcat completion, all colons should be escaped 2015-08-22 07:41:26 +08:00
rxwen 2f7b9d302b add zsh-completion
- support tab-completion for process name
- support tab-completion for tag name
- support all arguments
2015-08-13 07:42:03 +08:00