So I have this Task in ConEmu which creates several split consoles. In some of them I run a mongo database. Sometimes I terminate the database and leave the console open. Normally in a command line window I would just press UP and it would show up the last command - the one that run the mongo database with parameters. However, when I run it like this:
cmd /k mongod --port 27017 --dbpath C:\Users\mimko_000\mongo\ --replSet rs0 --smallfiles --oplogSize 128 -cur_console:n
then when I terminate with CTRL+C and press UP nothing shows - because the command window does not remember it.
Can I rerun this somehow with CONEMU? When I try to run this task, it will open a new console. I have this in a set of 4 splitted console windows and I would like to continue in the bottom left one, but the task always creates a new one.