-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
Windows Defeneder - Block all Office Apps from creating child processes #2433
Comments
It runs Python via cmd.exe. You can try to see if "RunPython: Use UDF Server" checked makes a difference. Or you can migrate to xlwings Server that gets rid of local Python and any VBA, but is part of xlwings PRO. |
Hello @fzumstein , May I ask - What is the technical reason for choosing Thanks, |
I don't know of any other way than doing this via cmd.exe: https://github.com/xlwings/xlwings/blob/main/xlwings/addin/Main.bas#L270-L275 |
Hello @fzumstein , I am pondering whether it makes sense to try and launch the Python process directly , i.e. without using I would like to do a small proof of concept to find the answer to the above question . Thinking aloud - I could copy over your What do you think? |
Sure feel free! You're probably running into a problem with the LOG_FILE, which is used for error messages. |
Ok. This is what I have done.
Problem
QuestionWhy can't Python find the Active Sheet ? See line 9 above |
OS (e.g. Windows 10 or macOS Sierra)
Versions of xlwings, Excel and Python (e.g. 0.11.8, Office 365, Python 3.7)
xlwings 0.30.12
Python 3.9.7
Describe your issue (incl. Traceback!)
Include a minimal code sample to reproduce the issue (and attach a sample workbook if required!)
Questions and concerns from our IT
The text was updated successfully, but these errors were encountered: