Explain how stdin/stdout/stderr are connected in term_start():
Related: #16354
https://github.com/vim/vim/pull/19892
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@mattn Mind giving this a quick review?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@mattn commented on this pull request.
LGTM.
If you think it's worth mentioning the technical reason, the CreatePseudoConsole() API itself only takes one input and one output handle (no separate stderr), which is why they can't be separated:
https://learn.microsoft.com/en-us/windows/console/createpseudoconsole
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
As you may know, job_start() does not use CreatePseudoConsole(), so err_cb correctly separates stderr there.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@h-east pushed 1 commit.
—
View it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@mattn Thanks for the reviewing. I added information based on your comments.
As you may know, job_start() does not use CreatePseudoConsole(), so err_cb correctly separates stderr there.
Yeah, The text added in this pull request is within :h term_start(), so it's fine.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
included as of 0646047
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()