cd in launcher breaks relative paths in parameters #3

Open
popey opened this Issue Jun 24, 2016 · 0 comments

Comments

Projects
None yet
1 participant

popey commented Jun 24, 2016

https://github.com/ubuntu/snappy-playpen/issues/109

This launcher, and dpm's fork at https://github.com/dplanella/qt5conf suffer from the same problem.

In my mpv snap, I want to be able to "cd foo" then "mpv bar.mp4" but can't because the qt5-launch has a "cd $SNAP" which means mpv can't find the "bar.mp4". It works if I provide a full path, but that's not a great user experience.

Perhaps change the exec to:-

exec $SNAP/$@

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment