actually execute on threadpool
Some checks are pending
continuous-integration/drone/push Build was killed
Some checks are pending
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
299ba5a5dd
commit
574d389b48
@ -140,7 +140,7 @@ impl ScriptListener {
|
||||
fn call_sub<'a>(&self, args: Vec<&'a str>) {
|
||||
let mut cmd = self.mkcmd(args);
|
||||
self.pool.execute(move || {
|
||||
cmd.spawn().expect("Failed to call Script hooḱ!");
|
||||
cmd.output().expect("Failed to call Script hooḱ!");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user