I tried something like this and it starts one after the other
function start-parallel {
workflow work {
start-process $exe1 -wait
start-process $exe2 -wait
}
work
}
I tried something like this and it starts one after the other
function start-parallel {
workflow work {
start-process $exe1 -wait
start-process $exe2 -wait
}
work
}
Copyright © 2021 Jogjafile Inc.
No, you can't simultaneously wait and not wait.
What you'll want to do is save the process objects output by
Start-Process -PassThruto a variable, and then not wait until after you've kicked off all the processes: