Re: How to call system command



Terry Ha wrote:

> 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.

Try looking at
http://developer.gnome.org/doc/API/libgnome/gnome-gnome-exec.html

/dev/eskil
---





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