Skip to content

Commit

Permalink
Update Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
andfoy committed Oct 17, 2024
1 parent 1772d00 commit 7756bc6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## Version 0.4.0 (2024/10/17)

### Issues Closed

* [Issue 72](https://github.com/andfoy/winpty-rs/issues/72) - FEATURE REQUEST: Callback or blocking method to wait for exit of spawned process ([PR 79](https://github.com/andfoy/winpty-rs/pull/79) by [@andfoy](https://github.com/andfoy))

In this release 1 issue was closed.

### Pull Requests Merged

* [PR 79](https://github.com/andfoy/winpty-rs/pull/79) - Prevent reading thread from hanging if process has stopped, by [@andfoy](https://github.com/andfoy) ([72](https://github.com/andfoy/winpty-rs/issues/72))

In this release 1 pull request was closed.


## Version 0.3.16 (2024/08/09)


Expand Down
2 changes: 1 addition & 1 deletion tests/conpty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fn wait_for_exit() {
assert_eq!(pty.get_exitstatus().unwrap(), None);

pty.write("exit\r\n".into()).unwrap();
pty.wait_for_exit();
let _ = pty.wait_for_exit();

assert!(!pty.is_alive().unwrap());
assert_eq!(pty.get_exitstatus().unwrap(), Some(0))
Expand Down
2 changes: 1 addition & 1 deletion tests/winpty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ fn wait_for_exit() {
assert_eq!(pty.get_exitstatus().unwrap(), None);

pty.write("exit\r\n".into()).unwrap();
pty.wait_for_exit();
let _ = pty.wait_for_exit();

assert!(!pty.is_alive().unwrap());
assert_eq!(pty.get_exitstatus().unwrap(), Some(0))
Expand Down

0 comments on commit 7756bc6

Please sign in to comment.