Add optional infine-looping command-line parameter for WindowsTerminal profiles #11001
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Issue-Question
For questions or discussion
Needs-Tag-Fix
Doesn't match tag requirements
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Resolution-Answered
Related to questions that have been answered
Description of the new feature/enhancement
Add boolean parameter if WindowsTerminal profile's command line should repeat every 1s in case command finishes. This would be useful for automatically restarting openssh sessions on the same tab. Currently you need to clone tab and reopen it again.
Proposed technical implementation details (optional)
E.g. I tried to implement this by typing this command-line profile:
while ($true) { ssh [email protected] -p 22 -i ~/.ssh/id_ed25519; start-sleep -seconds 1}
But it doesn't work. I get
[error 0x80070002 when launching while ($true) { ssh [email protected] -p 22 -i ~/.ssh/id_ed25519; start-sleep -seconds 1}]
error.If profile's command-line infine-loop+delay would be integrated inside WindowsTerminal, then it would be easier appliable
Thank you for creating this greater alternative tool to PuTTY.
The text was updated successfully, but these errors were encountered: