diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-09-13 09:26:42 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-09-13 09:26:42 (GMT) |
commit | dafdf6d9b5cf03d995750e1bbf8047e0c598bdee (patch) | |
tree | 876520051b1cc7c075b5ee60806e24680274f639 | |
parent | 975a3bdbcc0f8e4e8efc41357109e6c8cf6173d0 (diff) |
cwd to the activity bundle dir in sugar-launch #676
-rw-r--r-- | bin/sugar-launch | 1 |
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)) |