I just applied the solution in pfitzseb’s link. I guess McAfee antivirus was suppressing a particular .exe file.
Info and intructions from McAfee’s website
The path should be something like: C:\Users\you\.atom\packages\julia-client\node_modules\node-pty-prebuilt\build\Release\winpty-agent.exe
This solution seems better than what I had suggested earlier.