@pwilczynskiclearcode 
I'm afraid I don't know a better solution for this. Single commands will work without wrapping them with bash command, but still it will not work on Windows. Could you suggest something?