--- On Thu, 5/14/09, frederico schardong <frede....@gmail.com> wrote:

> From: frederico schardong <frede....@gmail.com>
> Subject: something like system function
> To: gtk-list@gnome.org
> Date: Thursday, May 14, 2009, 8:47 AM
> Hi,
> 
> I need something like function system of stdlib.h, but I
> need to get
> the output of the command... example:
> gchar *returned;
> 
> returned = system("pwd");
> 
> and returned must be the folder of the program...
> 
> Gtk, or glib have something like that?
> 
> -- 
> Abraço,
> Frederico Schardong,
> SOLIS - O lado livre da tecnologia
> www.solis.coop.br
> _______________________________________________


And why should it be done through gtk+/glib and not through standard "C"
library ?

Regards,
  Sergei.


      
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to