在控制台使用createProcess函数新建一个cmd窗口,能否使用WriteConsoleOutputCharacter函数向新建的cmd窗口输出字符串?若不行,该如何实现?
新建cmd窗口的时候,需要从定向stdout和stdin, 然后主进程可以往cmd里写命令