diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-11-11 03:45:09 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-11-11 03:45:09 -0500 |
commit | cf04fbb6427eb10332c5bc143cc453aa2906e84c (patch) | |
tree | 510842eab7a2edff5b35542e5f9449a5621dd661 /src/history.rs | |
parent | 57a9e97dcab66c9f13331280335841b3d098b0b5 (diff) | |
download | nbsh-cf04fbb6427eb10332c5bc143cc453aa2906e84c.tar.gz nbsh-cf04fbb6427eb10332c5bc143cc453aa2906e84c.zip |
move to unstable async-std
apparently this is the only way i will get an async condvar
Diffstat (limited to 'src/history.rs')
-rw-r--r-- | src/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.rs b/src/history.rs index 50e5ca7..58de34c 100644 --- a/src/history.rs +++ b/src/history.rs @@ -19,7 +19,7 @@ impl History { pub async fn run(&mut self, cmd: &str) -> anyhow::Result<usize> { let (exe, args) = parse_cmd(cmd); - let mut process = async_process::Command::new(&exe); + let mut process = async_std::process::Command::new(&exe); process.args(&args); let child = process .spawn_pty(Some(&pty_process::Size::new(24, 80))) |