@davidmaxwaterman
This should be another solution, more flexible,  but for windows, it depends on bash environment?
And if there are further requirements, I think we can switch to use your suggestion. but currently, I don't think we need switch to this.