HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by stirfish | Hacker News Reader
Parent
Full thread
stirfish
·
Could you use preexec + tee?
View on HN
ctippett
·
Unfortunately not, the preexec event happens asynchronously from the actual execution of the command. You can't manipulate or otherwise log the
output
of what's run, all you get is a copy of the command text.
Reply on news.ycombinator.com