We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I discovered conpty cant working when set #![windows_subsystem = "windows"]. the following code will get the bug。
#![windows_subsystem = "windows"]
Error Message : Windows error : Invalid handle
#![windows_subsystem = "windows"] use std::io::Write; fn main() { let proc = match conpty::spawn("cmd.exe"){ Ok(p) => p, Err(e) => { let mut f = std::fs::File::create("error.txt").unwrap(); f.write_all(format!("{}" ,e).as_bytes()).unwrap(); f.flush().unwrap(); return; }, }; proc.wait(None).unwrap(); }
The text was updated successfully, but these errors were encountered:
SORRY @b23r0
I don't know exactly how, but I've noticed the issue probably only a week ago.
BIG Thank you for reproducible.
I was actually not aware about this mode #![windows_subsystem = "windows"]. So its interesting one.
It must be addressed with 0.4. Could you verify it?
0.4
Take care. Merry Christmas and Happy New Year.
Sorry, something went wrong.
No branches or pull requests
I discovered conpty cant working when set
#![windows_subsystem = "windows"]
. the following code will get the bug。Error Message : Windows error : Invalid handle
The text was updated successfully, but these errors were encountered: