Replies: 1 comment
-
https://youtrack.jetbrains.com/issue/RIDER-103497/Run-Debug-Console-changes-how-ConPTY-works |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I implemented a ConPTY terminal based on the API described here and
AnonymousPipeServerStream
s in C#. Everything goes smoothly but I am unable to actually read anything out of the pipe connected to thehOutput
handle. Since there is no error happening anywhere I am lost trying to debug this.Is there any general suggestion regarding how to debug this issue?
Relevant code: https://gist.github.com/wfjsw/8ccd7768d8ea78169ec29939fe73642b
Update 1:
It seems none of the
CREATE_NEW_CONSOLE
,DETACHED_PROCESS
orCREATE_NO_WINDOW
should be set or it will cease to work.Now I am able to receive some content from the ConPTY, but it is significantly delayed. The data only comes in after the process is somewhat completed. Though they would reach the Console of the parent process in real time.
Beta Was this translation helpful? Give feedback.
All reactions