After some great fun in programing with the Gtk+2.0, I had to invoke system calls i.e. communicate with the system from the Gtk application.
I googled a lot for it and found two good options :
1. using system() function
2. using execv() function
Though execv() is more specific , I used the system() function in my program, initially.
e.g. system(“ls -l”);
this will work as the usual ls -l .