-e switch treats string as single argument
Brought to you by:
realh
-e switch treats arguments passed surrounded by quote as a single string, although they are different commands. This break compatibility with geany execute function.
In fact, to execute on-the-fly a script with an external terminal emulator, geany passes
-e "/bin/sh ./geany_run_script.sh"
as arguments to the preferred emulator. Roxterm complains about the absence of child process "/bin/sh ./geany_run_script.sh", while xterm works flawlessy. Gnome-terminal has two options: -e that accept a string and tokenize it, and -x that parse the arguments separately. This could be a solution.
Anonymous
The way I'd like to fix this is to keep the current behaviour if there is more than one argument following -e but make it split at spaces if there is only one.
I think that have sense. If somebody explicitly has surrounded different token by quote, it's beacuase he needs they will be parsed that way. Otherwise, if a single parameter passed is quoted, probably it's just to avoid problem with programs which don't like blank spaces.
Thanks again for your interest. I'll wait for the commit. :)
I've implemented this and pushed it to git. I'm aiming for a new release in the next few days.
Just tried git version: it works as expected. Thanks a lot. :)
P.S.
Great thing the add tab button too. I would like to ask for that some times ago.
Cheers.