conemu

Writing script in windows to run two command line in ConEmu


I was wondering if I can write some kind of script for ConEmu so that I can start two command lines with some parameter. Here what I am trying to do:

$ start app1 someParam //start in one cmd line tab
$ start app2 otherParam //start in second cmd line tab

Any direction is appreciated.


Solution

  • Direction? Docs of course. LaunchNewTab, CommandLine, -new_console, Tasks. Numerous methods for any case.

    Actually, you question is not clear. What do you want to run and where? The docs show several examples how to run several tabs at once. For example:

    ConEmu -cmdlist app1 someParam ||| app2 otherParam