I have 2 programs, a server and a client and I want to spawn both of them from a single nim executable. I can spawn them using startProcess, but then they don't start in their own new terminal windows. It would be great for debugging if I could spawn them in new terminal windows, is there a way to achieve this? I am using macos.
Thanks for your time.
You need to open new terminal with your command as an argument. I don't know much about MacOS, but quick search returns this command from stackexchange
osascript -e 'tell app "Terminal" to do script "your command here"'