What happens
- I have a command called
Gorx Planet, which starts up a game that I'm working on
- When I type in
gorx, Gorx Planet appears as an option to select
- I press Tab to autocomplete the entry, then Enter
- Nothing happens, wmenu simply exits;
Gorx Planet &> /tmp/error.log shows only an empty file
- If I wrap the command in quotation marks, like
'Gorx Planet', or escape the space with a backslash, like Gorx\ Planet, the game successfully launches as expected; however, quoting or escaping the space causes the command to no longer show up as a suggested application, despite allowing me to launch it
Expected Behavior
- If the command shows up as
Gorx Planet in the autocompletion list, I expect to be able to: select it with Tab, and launch it with Enter
- Pressing Tab would either automatically quote or escape the command with spaces, or handle the escaping of spaces unbeknowst to the user in the background
- If the command will launch with
'Gorx Planet' or Gorx\ Planet, I would expect it to show up in the autocompletion list
I'm fairly confident that this is an issue with spaces not being escaped. I would be happy to look into this more, if you wouldn't mind pointing me in the right direction as to where this escaping of spaces might take place.
### What happens
- I have a command called `Gorx Planet`, which starts up a game that I'm working on
- When I type in `gorx`, `Gorx Planet` appears as an option to select
- I press Tab to autocomplete the entry, then Enter
- Nothing happens, wmenu simply exits; `Gorx Planet &> /tmp/error.log` shows only an empty file
- If I wrap the command in quotation marks, like `'Gorx Planet'`, or escape the space with a backslash, like `Gorx\ Planet`, the game successfully launches as expected; however, quoting or escaping the space causes the command to no longer show up as a suggested application, despite allowing me to launch it
### Expected Behavior
- If the command shows up as `Gorx Planet` in the autocompletion list, I expect to be able to: select it with Tab, and launch it with Enter
- Pressing Tab would either automatically quote or escape the command with spaces, or handle the escaping of spaces unbeknowst to the user in the background
- If the command will launch with `'Gorx Planet'` or `Gorx\ Planet`, I would expect it to show up in the autocompletion list
I'm fairly confident that this is an issue with spaces not being escaped. I would be happy to look into this more, if you wouldn't mind pointing me in the right direction as to where this escaping of spaces might take place.