Im trying to run a command in conemu when I open up a console from a task. For example, I want to open a bash terminal and run node -v to see my current node version. My Current task commands look like this:
set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -cur_console:pm:/mnt node -v
This opens a bash terminal and executes node -v, but then closes the process, giving me the error
Root process was alive less than 10 sec, ExitCode=0
My expected result is that the output of node -v would be visable, and under that would be a working bash console.
v12.6.0
root@COMPUTER:/mnt/c# _
I had it like this in my previous environment so I know it's possible, but I don't remember how I did it.