|
Hello,
I remember doing this some time ago,
If you want to capture the output, consider popen() if your C library supports it.
(v)fork(), exec() might be worth a look too
Sorry I couldn't be more help, I had a dig around for the old code (SDL Battery Status App) but I couldn't find it
|