How to call system command



Hi,
 
I want to write a GTK+ application that utilize the "IPCHAINS".  I want to know how to call system command, such as "ipchains -A input -d 192.168.1.1 -j DENY" and "clear".  Pls answer this question, because it is urgent.
 
Thanks,
 
Best Regards,
Terry Ha


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]