yazd / DKit

DKit is a package to aid developing D programs using Sublime Text 3.
62 stars 23 forks source link

start_server doesn't spawn several dcd-servers #24

Closed mitchr closed 9 years ago

mitchr commented 9 years ago

The checking that was in place to prevent the starting of several dcd-servers if one was already open was faulty. This was because Popen.poll only checks 1 pid. Now, we use "dcd-client -q", which queries all servers and returns 0 if the server is already open.

yazd commented 9 years ago

I tested locally and it works great. Thanks!