async-cmd-0.1.1 is not a library.
async
async is a tool to run shell commands in parallel and is designed to be able to quickly parallelize shell scripts with minimal changes.
It was inspired by GNU Parallel, with the main difference being that async retains state between commands by running a server in the background.
Usage
All information about the command line interface is available using async --help. Below is an example on how to use async to parallelize commands:
#!/bin/bash
S="/tmp/example_socket"
for; do
# prints command output to stdout
done
# wait until all commands are finished
# configure the server to run four commands in parallel
for; do
# redirects command output to /tmp/ex_dir/file*
done
# stops server
If you encounter an unexpected error or crash, please turn on logging by setting the environment variable RUST_LOG=debug and open an issue on the Github repository.
Installation
async can be installed using cargo with cargo install async-cmd or from the AUR.