Unable to launch commands with white space in it
Bug #478412 reported by
Raphael Jolivet
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
deskbar-applet (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: deskbar-applet
I have installed a third party applicationwhich had the good idea to name their binary with a space in it.
When I try to launch it via the deskbar Applet, it finds it corectly (and displays the space), but it is unable to execute it.
I get something like (I have it in french actually) :
"Unable to execute the program : 'foo bar' "
How to reproduce
==============
1) Create a dummy "foo bar" program
> cd /usr/bin
> sudo echo "echo hello" > "foo bar"
> sudo chmod +x "foo bar"
2) Try to launch it via the deskbar applet.
To post a comment you must log in.
I have sort of the same problem. I am unable to use the following command in the deskbar: virtualbox --startvm "Windows 7"
The following error pops up: There is no virtual machine named "Windows.
It is possible to run the command from the terminal or by using ALT+F2.
It appears that deskbar is trying to split the command on spaces (deskbar/ handlers/ programs. py:240 perhaps), causing it to break.