You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm happy to have found this Python module. Thank you so much! I included the functionality into my project and found sys.argv in windows.py evaluates to ['D:\path_to_my\script.py']. Since my script does not contain a shebang line nor the Windows system got a file association installed, the elevated call fails (of course) without any useful return value. :-/
Maybe there could be a test if the given file:
Has a file name extension that is registered with the system OR
Is a *.py an contains a shebang line with a windows executable
What do you think about that?
The text was updated successfully, but these errors were encountered:
Hi Barney,
I'm happy to have found this Python module. Thank you so much! I included the functionality into my project and found
sys.argv
in windows.py evaluates to['D:\path_to_my\script.py']
. Since my script does not contain a shebang line nor the Windows system got a file association installed, the elevated call fails (of course) without any useful return value. :-/Maybe there could be a test if the given file:
What do you think about that?
The text was updated successfully, but these errors were encountered: