Skip to content

Commit

Permalink
Merge pull request #6712 from dalthviz/fixes_issue_6524
Browse files Browse the repository at this point in the history
PR: Fix new instance validation on Windows.
  • Loading branch information
ccordoba12 authored Mar 11, 2018
2 parents f9fa138 + 0f544d0 commit 5b45be8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyder/utils/external/lockfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def lock(self):
p = psutil.Process(int(pid))

# Valid names for main script
names = set(['spyder', 'spyder3', 'bootstrap.py'])
names = set(['spyder', 'spyder3', 'spyder.exe',
'spyder3.exe', 'bootstrap.py'])
if running_under_pytest():
names.add('runtests.py')

Expand Down

0 comments on commit 5b45be8

Please sign in to comment.