3

Can I open a new tab with current tab's current directory in Console 2?

I found this question, but the solution using ConEmu not Console 2. Console2 - open new tab in existing session from cmd

I'm using nyaos as a shell for Console 2.

Does anyone know how to do it?

ironsand
  • 2,489

1 Answers1

1

<path_to_console>/Console.exe -t <tab_type> -reuse -r "-c '<your_command> ; bash --login -i'"

I add bash --login -i at the end to avoid the shell closing after my command has run.