replace execsync with spawnsync, then i can actually get a pid and do other fancy stuff