something like system function



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


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