Skip to content

Update process detection logic to work on OSX#1

Open
BasilHorowt wants to merge 8 commits into
mainfrom
osx_process_detection
Open

Update process detection logic to work on OSX#1
BasilHorowt wants to merge 8 commits into
mainfrom
osx_process_detection

Conversation

@BasilHorowt

Copy link
Copy Markdown
Owner

the arguments passed to this function looked like this on OSX:

['/Library/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python', '/Users/chia/chia-blockchain/venv/bin/chia', 'plots', 'create', '-k', '32', '-r', '2', '-u', '128', '-b', '4608', '-t', '/Volumes/plotting2tb', '-d', '/Volumes/16tb']

The first argument did not contain a lowercase 'python', so we can lowercase the string before comparison to make the check work more generally.

altendky and others added 8 commits April 20, 2021 00:26
the arguments passed to this function looked like this on OSX:

`['/Library/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python', '/Users/chia/chia-blockchain/venv/bin/chia', 'plots', 'create', '-k', '32', '-r', '2', '-u', '128', '-b', '4608', '-t', '/Volumes/plotting2tb', '-d', '/Volumes/16tb']`

The first argument did not contain a lowercase 'python', so we can lowercase the string before comparison to make the check work more generally.
BasilHorowt pushed a commit that referenced this pull request Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants