I am trying to open a new terminal and run a command from my console application, I found that in Mac the CreateNoWindow is ignored so instead I am using
CreateNoWindow