Page 1 of 1

Display output from command-line program

Posted: April 22nd, 2008, 12:32 am
by fraktal
Er, what it says on the tin, basically! It would be useful to have a really simple plugin that runs a command line (or BAT file) every [programmable period] and then returns the output...which could then, if necessary, be formatted by formatting and string plugins etc.
For an experienced coder it would probably take a couple hours...?

Posted: April 26th, 2008, 2:59 am
by fraktal
Well, for anyone else who's suffering the same problem, you can work around it by finding some way of automating the running of the program and piping the output to a text file (it's as simple as "ping [parameters] >> ping.txt") and then using the $File command to show it.