[maemo-developers] [maemo-developers] using execl

From: Peter.Hagg at tietoenator.com Peter.Hagg at tietoenator.com
Date: Thu Dec 15 10:41:49 EET 2005
-----Original Message-----
From: maemo-developers-bounces at maemo.org on behalf of Brad Burleson
Sent: Thu 12/15/2005 10:28 AM
To: maemo-developers at 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

More information about the maemo-developers mailing list