#Shell parallel results
1 messages · Page 1 of 1 (latest)
yes, you can do:
foo | bar &
build1=$1
baz | qux &
build2=$2
.wait $build1 $build2
1 messages · Page 1 of 1 (latest)
Can I combine shell variables and job control in order to retrieve results in parallel?
E.g. building multiple containers at the same time while putting them into variables to be used later on.
yes, you can do:
foo | bar &
build1=$1
baz | qux &
build2=$2
.wait $build1 $build2