[Sugar-devel] [Activities] using the browser to display help/docs
Luke Faraone
luke at faraone.cc
Sun Feb 22 13:29:17 EST 2009
On Sun, Feb 22, 2009 at 1:16 PM, <pgf at laptop.org> wrote:
> > Ignoring that, you would think you could run one activity from another
> > using a) Python code, b) exec(), or c) DBus.
exec() is the spawn of satan: all code exec'd is run in your local
namespace and takes over the current thread.
You can also use os.fork() or the subprocess module to call
sugar-launch-activity, but you'll get perm problems.
--
Luke Faraone
http://luke.faraone.cc
More information about the Sugar-devel
mailing list