On Sun, Feb 22, 2009 at 1:16 PM,  <p...@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
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to