-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem - executing two commands separated by a semicolon #203
Comments
This is tilix issue not jgmenu.
works fine.
Does not work. You should check commands first by running them from terminal. |
What @napcok said 😄 The semicolon only has meaning of parsed by a shell. You could put multiple commands in a shell script and call that instead. |
I think x-terminal-emulator's -e option is only supposed to work with a single command + arguments. Terminator's support for a multiple-command line is outside the spec. However, you can make But if the compound shell code you want to run is long then you should follow @johanmalm 's advice and put it in a separate script. |
Thank you all for your quick reply.
This would mean that tilix is behaving correctly ?.
unfortunately, it didn't work, but this save:
work fine
It is obvious to me that I should place longer scripts in separate files, csv files are not used for this. |
Many terminal emulators behave differently if they are called as Another less important difference is if a terminal supports The Debian requirements for a terminal that claims to provide x-terminal-emulator: https://www.debian.org/doc/debian-policy/ch-customized-programs.html#packages-providing-a-terminal-emulator |
@johnraff
This notation would be the most convenient for me, but it doesn't work.
|
Right, even without x-terminal-emulator, while some terminals support multiple commands after |
trying to do it:
I also tried this code
in both cases nothing happens. The terminal appears for a fraction of a second without executing any command.
code:
In this case the command executes successfully and the terminal program closes.
Any command inserted after a semicolon, causes the terminal to appear for a fraction of a second without executing commands.
Jgmenu behaves as if it can execute only one command with options.
Could someone tell me what code to use to execute several commands in sequence. Is it possible in Jgmenu ?.
The text was updated successfully, but these errors were encountered: