Closed ForNeVeR closed 3 years ago
TODO:
[x] use this suggestion from Microsoft when starting a process
(this is supposed to fix tests and run when ConPTY is used from a process with already redirected stdout)
ConPtyProcess
ConPtyPrcess::destroy
ConPtyProcess::dispose
pseudoConsole
Thanks!
TODO:
[x] use this suggestion from Microsoft when starting a process
(this is supposed to fix tests and run when ConPTY is used from a process with already redirected stdout)
ConPtyProcess
constructor (https://github.com/JetBrains/pty4j/pull/108/files#diff-82050063be2c03f2db8111ba3e3cc87b433a334bfaf17817ae0d38088a4709a9R40)ConPtyPrcess::destroy
at the right moment of time (after the process termination it seems?)ConPtyProcess::dispose
(ConPTY documentation suggests to drain the pipes before destroying thepseudoConsole
)