OK, in summary, what is the MAGIC piece of code here...the crux...the
essence:
***
* BOOKMARK THIS **
***
[code]
if ((ppid=fork())==0)
{
printf("Child process\n");
execlp("bash","bash","./ecurl.
Here is another powerful example of how a correctly set up background
process can fetch a web page for you.
Using URL_encode() you can even invoke specific scripts on a remote host
via HTTP and HTTPS protocol using CURL (available on stock Angstrom but
remember to connect it to the inet).
[cod
ok, here is a good example of how you can run a BBB-specific shell script
with the DAEMON1 code examples. It reads back to you the current
configurations for pins on the P8/9 headers. Its not just a cat of a config
file but saves to a text file AND is entirely available in a C program.
You can