Hi Ulf,
> is there a chance to use the exec_plugin for making a 'cat
> /foo/bar.txt',
> and is there any example of this available? (Using the cvs-version)
sure:
merlin.ethnet:# lcd4linux -Fvvq -f lcd4linux.conf.sample -ii
Version 0.10.0-RC1 starting
eval> exec('head -1 /etc/passwd', 1000)
thread exec-eaf starting...
forked process 2649 for thread exec-eaf
''
eval> exec('head -1 /etc/passwd', 1000)
'root:x:0:0:root:/root:/bin/bash'
eval>
The first call to exec does not return a result, but returns
immediately, to not delay execution. Exec's are handled as a background
process.
Maybe there should be a "generic file parsing" plugin?
bye, Michael
--
Michael Reinelt <re...@eu...>
http://members.eunet.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
|