Re: How to call system command

On Sun, 22 Oct 2000 12:23:27 Terry Ha wrote:
> 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
> -j DENY" and "clear".  Pls answer this question, because it
> is urgent.
> Thanks,

Is there a special GNOME/GTK way of doing this?
I suppose you'd just use 
	int system (const char *COMMAND)
from glibc.

Petter Bergman

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