Re: How to call system command



On Mon, 23 Oct 2000, Malcolm Tredinnick wrote:

> 
> On Mon, Oct 23, 2000 at 01:08:24AM +0200, Timur I. Bakeyev wrote:
> [...snip...]
> > Also, I suspect, that Alan Cox(maybe, someone heard this name :)
> > implemented such tool with GTK year(s) ago... And, at least, something
> > similar I've seen on tucows So, just take a look, will not it happen,
> > that you duplicating existing tools ;)
> 
> gnome-lokkit (the script I think Timur was referring to) does it by
> writing out the various ipchains commands to a file and then using
> system() to run "/sbin/ipchains -F <scriptname>".

Sounds like the sort of tool that should be knocked up in an afternoon in
python or perl.  Not C.

njh





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