Thanks ! pretty darn good.
I have tried other things but nowhere as good as that.
Might try and integrate it into Reaper, using
reaper.ExecProcess( cmdline, timeoutmsec )