Version 0.1 released 08-03-2007
This is a plugin for smartie to execute a console program and return the output.
Made on request, probaly has a few bugs.
Usage.
1) Place dll in plugin dir.
2) Call the dll where you need it.
Exsample.
$dll(ExecCmdLine,1,cmd.exe,/C dir c:\)
$dll(ExecCmdLine,2,1,)
$dll(ExecCmdLine,2,5,)
$dll(ExecCmdLine,2,9,)
The first command wont return anything, only execute the program and store the data.
The second command will return the line (1,5,9 starts from 0)
***Note: Im not sure if smartie always reads and executes the first line before the others, if not this wont work as it
should. (Data will be from the previous run)
***Note2: REMEMBER the /C when using cmd.exe to run something, if you dont smartie will hang because the dll never
returns.
The plugin is in C# source is included.
Author
MORA (Pm at forums.lcdsmartie.org if needed)
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
Execute cmdline program
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Posts: 14
- Joined: March 7th, 2007, 5:21 pm
Execute cmdline program
You do not have the required permissions to view the files attached to this post.