Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on r-hub Windows #22

Closed
jeroen opened this issue Jan 25, 2019 · 2 comments
Closed

Does not work on r-hub Windows #22

jeroen opened this issue Jan 25, 2019 · 2 comments

Comments

@jeroen
Copy link
Owner

jeroen commented Jan 25, 2019

We get Access is denied errors for running any executable on r-hub's Windows server. Everything seems fine on any other server though.

@jeroen
Copy link
Owner Author

jeroen commented Mar 27, 2019

I'm guessing R-hub runs R in a "job" which without JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK permissions.

@jeroen
Copy link
Owner Author

jeroen commented Mar 27, 2019

SO https://stackoverflow.com/a/5361723/318752

You can call QueryInformationJobObject with NULL, which will be the Job object of the current process.

QueryInformationJobObject: http://msdn.microsoft.com/en-us/library/ms684925(VS.85).aspx

@jeroen jeroen closed this as completed in 007bcd4 Mar 27, 2019
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

No branches or pull requests

1 participant