Abbbbbi / Frida-Seccomp

一个Android通用svc跟踪以及hook方案——Frida-Seccomp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grep output buffering issues causing premature truncation of logs

LLeavesG opened this issue · comments

The grep command may also buffer its output, leading to premature truncation. This issue can be resolved by using the grep --line-buffered option.

subprocess.Popen(args="adb logcat --pid={} | grep --line-buffered seccomp > {}/{}_{}.log ".format(pid, dir_path, package_name, pid), stdin=None, stdout=None,stderr=None, shell=True)

image