call shell or other program out of my_program
Hi all!
* I would like to call a (linux)shell out of a my_program - but how?
* How do I leave this shell and return to my_program (I suppose with <exit>)?
* Is it possible to call another program (ie editor) directly out of my_program?
More specific:
I want to call an determined) editor to edit a (determined) textfile, like <call /usr/bin/vi ~/001.txt> (where vi and 001.txt are determined in my_program) and when I exit the edit process I return to my_program.
The program I want to write is a simple console based (ncurses) mind-mapping-tool.
TIA
Lea
|