running screen is slow when running using node's spawn
I'm running this command: screen -S server -X stuff $'\003'
when I run it directly in bash it execute immediately.
When I'm running it through node's spawn, it takes several seconds for the command to get to the screen, and I can't figure out why.
The screen command is just one example, every screen command works the same.
e.g. screen -S server -X quit;