On Saturday, 25 August 2018 at 22:00:47 UTC, JN wrote:
It's kind of a dirty and not very portable solution, but if you run by executeShell, you could so something like executeShell("cmd1 && cmd2 && cmd3") and let the shell do the sequence for you.
Oops, didn't notice it was suggested already.