[Bro] Getting the Output From system()

Chris Crawford christopher.p.crawford at gmail.com
Tue Dec 11 13:26:50 PST 2012

Say I wanted a bro script to call out to an external program, and I wanted
to get the output from the external program into my bro script.

This thread shows that I can call an external program with system():

Based on the old bro wiki, it looks like the output from that command gets
redirected to stderr:

Is there anything like system() that returns the output of an external

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20121211/97322dc0/attachment.html 

More information about the Bro mailing list