a2o / snoopy

Snoopy Command Logger is a small library that logs all program executions on your Linux/BSD system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

log also subprocess commands such as nodejs shell

DanOfir opened this issue · comments

Hi,

I am wondering if this tool can also log commands executed inside nodejs or ruby shells, couldn't find an answer, and by testing it i see it doesn't, so just wondering if this can be enabled somehow

@DanOfir, are node and ruby shells those CLI tools that allow you to enter node/ruby code and they evaluate it as you enter it (once you hit the return key)? If that's the case, then the answer is no, unless those "commands" (in reality they are usually just function calls) trigger a process creation mechanism underneath.

If not, can you elaborate on the use case with a short example that I can test on my end?