are expected to leave it as a literal "~", however, replacing "=" by a space and omitting the quotes:
terminator --working-direcotry ~/Documents
is expected to work because the shell from which you invoke terminator interprets and replaces it with /home/mb/Documents for you.
My reality is:
All of the above do work on my system. I have no clue why :D :D :D
In "ps ax" the first three show a literal "~" whereas the last variant shows the expanded value. Hence either terminator itself, or the shell launched by terminator interprets the leading "~" once again. They should not.
My expectation is:
"~" as a special character is a convention _for the shell only_ and _only at the beginning of a string_.
The shell where you type "terminator --wor..." expands it only if it's preceded by a space and is not within quites, that is,
terminator --working- directory= "~/Documents" directory= ~/Documents
terminator --working-
terminator --working-directory "~/Documents"
are expected to leave it as a literal "~", however, replacing "=" by a space and omitting the quotes:
terminator --working-direcotry ~/Documents
is expected to work because the shell from which you invoke terminator interprets and replaces it with /home/mb/Documents for you.
My reality is:
All of the above do work on my system. I have no clue why :D :D :D
In "ps ax" the first three show a literal "~" whereas the last variant shows the expanded value. Hence either terminator itself, or the shell launched by terminator interprets the leading "~" once again. They should not.