GNOME Bugzilla – Bug 631653
gjs-console wrapper does not quote $@, breaking -c usage
Last modified: 2010-10-08 03:38:29 UTC
Created attachment 171930 [details] [review] patch for /usr/bin/gjs-console gjs-console runs gjs-console.real, but on line 28: exec /usr/bin/gjs-console.real $@ should be: exec /usr/bin/gjs-console.real "$@" Without the quotes, it makes it so that if you run: gjs-console -c "commands with spaces" it (wrongly) turns into: gjs-console.real -c commands with spaces but with the patch, will run: gjs-console.real -c "commands with spaces" This bug breaks gnome-shell-clock-preferences.
This is Ubuntu specific, this can be closed.
You mean, this problem doesn't exist in Gnome?
Ah, an Ubuntu-specific wrapper.