Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-09-13 09:26:42 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-09-13 09:26:42 (GMT)
commitdafdf6d9b5cf03d995750e1bbf8047e0c598bdee (patch)
tree876520051b1cc7c075b5ee60806e24680274f639 /bin
parent975a3bdbcc0f8e4e8efc41357109e6c8cf6173d0 (diff)
cwd to the activity bundle dir in sugar-launch #676
Diffstat (limited to 'bin')
-rw-r--r--bin/sugar-launch1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sugar-launch b/bin/sugar-launch
index 68fe613..7297a8e 100644
--- a/bin/sugar-launch
+++ b/bin/sugar-launch
@@ -84,5 +84,6 @@ if options.debug:
cmd_args.extend(_get_interpreter(act_args.pop(0)))
cmd_args.extend(act_args)
+os.chdir(str(activity.get_path()))
os.execvpe(cmd_args[0], cmd_args, activityfactory.get_environment(activity))