It should be possible to pass command as argument when cool-retro-term is launched #172
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried to use cool-retro-term as a terminal in Code::Blocks. When I use Konsole, the terminal stays open afterwards and says
But cool-retro-term (with cool-retro-term --program) closes immediately. Could you maybe change it so that it stays open (or add an option)? :)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Ok, it seems that Code::Blocks uses an application (cb_console_runner) which displays the above message and keeps the window open, so it is not a missing function of cool-retro-term in itself.
Instead, cool-retro-term somehow does not work with cb_console_runner. It does not even start cb_console_runner if the program for example ask for some input.
Hi @TheHellstorm , preventing the terminal from closing when the session dies won't solve your problem. The issue here is that right now the --program flag expects a process and not a command. So you can run cool-retro-term top without any arguments without any shell.
The idea might be to introduce another flag like --cmd that instead process a command: cool-retro-term --cmd sh -c "cb_console_runner whathever". Right now I have other priorities such as polishing the new plugin, but I will take a look at this in the future since it sounds really useful.