We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b678662 commit 1bd9e66Copy full SHA for 1bd9e66
1 file changed
src/tools/utils_gui.py
@@ -32,22 +32,8 @@ def npcap_exists():
32
33
def duplicate_elmocut():
34
"""
35
- Check if there is more than 1 instance of ArpCut running
+ One may implement this in the future
36
37
- if sys.platform.startswith('win'):
38
- try:
39
- tasklist = terminal('tasklist')
40
- if not tasklist:
41
- return False
42
- # Count actual process entries (each on its own line)
43
- count = 0
44
- for line in tasklist.lower().split('\n'):
45
- if 'arpcut.exe' in line:
46
- count += 1
47
- return count > 1
48
- except Exception:
49
50
- # TODO: Implement PID/file lock if needed for macOS
51
return False
52
53
def check_documents_dir():
0 commit comments