-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Brad Burleson
Sent: Thu 12/15/2005 10:28 AM
To: maemo-developers@maemo.org
Subject: [maemo-developers] using execl
 
Any tips on how to execute a shell script (or any binary) from a maemo
application?

   Hi Brad, 

   you could use any of the GLib g_spawn_* functions [1]. For an example, see 
current osso-application-installer [2]. It uses this approach to call 
app-installer-tool.

   Regards, 

   - Pete -

   [1] http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html
   [2] check Maemo 1.1rc7 debian source package for osso-application-installer 
(src/core.c), not subversion as this code seems to be the rewrite of the 
current AI
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to