On Edison (and Galileo to that matter) the sketch is just a normal Linux user-space process (and binary). So you can use all normal libc/POSIX functions for that.
Out of those system() and popen() would be most interesting for you I think. Specific documentation on those is readily available on the Internet.
Thank you that was very helpful. And fast on the response too so much appreciated.