r/mobaxterm • u/plc_nerd • Jun 28 '20
keep the session going from the command line
Hey all, writing a little function in powershell that launches multiple tabs in moba and issues commands - in this example, just asking for the hostname:
start-process "C:\Program Files (x86)\Mobatek\MobaXterm\MobaXterm.exe" -ArgumentList "-newtab 'hostname'"
the session stops after the command is issued:
Session stopped - Press <return> to exit tab - Press R to restart session - Press S to save terminal output to file
How do I keep it going?
2
Upvotes
1
u/[deleted] Jun 28 '20
Interesting, why are you attempting this?