Shell Exec
Execute shell scripts asynchronously on multiple platforms. The goal of the library is to provide a simple interface to execute a user provided script on any shell. We try to avoid as much as possible writing temporary files.
use Duration;
use ;
let execution = builder
.shell
.cmd
.timeout
.build;
let data = execution.execute.await.unwrap;
assert_eq!;