process: Bump tokio-signal version to 0.2

This commit is contained in:
Ivan Petkov
2019-06-24 16:56:52 -07:00
parent de9b401457
commit e6b044a820
6 changed files with 88 additions and 45 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ fn simple() {
let mut lp = Core::new().unwrap();
let mut cmd = support::cmd("exit");
cmd.arg("2");
let mut child = cmd.spawn_async(&lp.handle()).unwrap();
let mut child = cmd.spawn_async_with_handle(lp.handle().new_tokio_handle()).unwrap();
let id = child.id();
assert!(id > 0);
let status = lp.run(&mut child).unwrap();