objective-see / FileMonitor

File Monitor Library (based on Apple's new Endpoint Security Framework)
GNU General Public License v3.0
327 stars 47 forks source link

redirecting stdout results in no output #11

Open stewartadam opened 8 months ago

stewartadam commented 8 months ago

Piping FileMonitor output to a file or to another command (e.g. grep or tee) causes no output to be produced.

zanchey commented 3 weeks ago

It works OK for me. I thought you might be running into buffering issues (eg needing to use grep --line-buffered but tee is unbuffered, so I don't think that's it.