actually execute on threadpool
Some checks are pending
continuous-integration/drone/push Build was killed

This commit is contained in:
shimunn 2019-05-23 19:29:28 +02:00
parent 299ba5a5dd
commit 574d389b48

View File

@ -140,7 +140,7 @@ impl ScriptListener {
fn call_sub<'a>(&self, args: Vec<&'a str>) { fn call_sub<'a>(&self, args: Vec<&'a str>) {
let mut cmd = self.mkcmd(args); let mut cmd = self.mkcmd(args);
self.pool.execute(move || { self.pool.execute(move || {
cmd.spawn().expect("Failed to call Script hooḱ!"); cmd.output().expect("Failed to call Script hooḱ!");
}); });
} }
} }