Re: call an external program and save or show output
- From: Allin Cottrell <cottrell wfu edu>
- To: Benno Mielke <g00Ze web de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: call an external program and save or show output
- Date: Tue, 18 Nov 2003 17:04:08 -0500 (EST)
On Tue, 18 Nov 2003, Benno Mielke wrote:
Could anybody say how to call an external program (like gcc/g++ or nmap) ?
For example when I write a program that scans a host and I want to run nmap and show (and/or save ...) the
output in a new widget. Is there a possibility ?
And I don't want to use the system() function :)
Look up the g_spawn family in the glib documentation, at
http://developer.gnome.org/doc/API/2.0/glib/
if you don't have a local copy. Or more specifically:
http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html
Allin Cottrell.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]