Options -e and -x open empty terminal
Executing a command with io.elementary.terminal -n -e "uname -a" or io.elementary.terminal -n -x "uname -a" just opens an empty terminal window.
The command is just used as an example here. I can not execute any command with either the -e or the -x flag.
This behavior extists since Terminal 5.5.1 or 5.5.0.
The empty terminal issue with the -n flag should be fixed in version 5.5.1. There has been a regression with the -e and -x flags however :-(
As a work around, you should specify the working directory when executing a command:
io.elementary.terminal --working-directory=[path] --execute=[command]
Thank you very much. Specifying any path as working directory allows to use -x and -e together with the -n flag.