Interactive command history in session started with subprocess on Windows

My guess is that the history is stored against the filename of the process that is directly connected to the console, and that the STARTF_USESTDHANDLES approach we use in launcher.c doesn’t properly communicate this. I’m not sure exactly what to do about it though…

@eryksun is the real expert here - perhaps we don’t have to duplicate standard handles and should only duplicate file/pipes?

I’m also trying to find a conhost.exe expert at work, but nobody is owning up to it yet :slight_smile:

1 Like