Skip to content

Fix subprocess command for mac os users#10

Closed
matacoder wants to merge 2 commits intowakepy:masterfrom
matacoder:hotfix/mac_subprocess_args
Closed

Fix subprocess command for mac os users#10
matacoder wants to merge 2 commits intowakepy:masterfrom
matacoder:hotfix/mac_subprocess_args

Conversation

@matacoder
Copy link
Copy Markdown

Resolves #9
(no keep_screen_awake now woking).

dev/wakepy/wakepy/__main__.py
Started wakepy. Your computer will not sleep automatically (unless battery goes under critical level)
\ [Press Ctrl+C to exit]

@fohrloop
Copy link
Copy Markdown
Member

Thanks for the PR! Merged in v.0.4.2.

By the way, have you tested that this works when keep_screen_awake=False? The caffeinate docs seem to have also flags like -i and -m - do you think these could be needed?

@matacoder
Copy link
Copy Markdown
Author

I've tested it in both scenarios. Considering other flags I believe they are not necessary but what we need are some mouse pointer mover or shift presser. I've tried some solutions but they requires tons of additional libraries.

@fohrloop
Copy link
Copy Markdown
Member

Did you try simple caffeinate -i or caffeinate -i -t 9999999? Do they also require mouse movement? I would be happy to avoid adding dependencies to this project.

@matacoder
Copy link
Copy Markdown
Author

It keeps computer awake, do not worry.
For my use case it is just not enough to be awake, you should interact with macos

@fohrloop
Copy link
Copy Markdown
Member

Coming back to this just to say thanks and sorry that I could not merge this "officially" anymore as I just pulled the changes and merged locally. You probably would have got some GitHub activity points for a merge. Will try to merge the GitHub route in the future!

@fohrloop fohrloop closed this Aug 25, 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.

MacOS BigSur wakepy fails with FileNotFoundError

2 participants