Open file in client using button

Hi everyone.
I am developing an application that query some SQL data and I need to open an external link in the client using some of these data.
Some issues:

  • I need to open Internet Explorer (yes, the external link app only works with IE)
  • server: linux / clients: windows 7

I tried to use subprocess, but it runs the process in the server.

button1 = st.button(“Open study”)
if button1:
p = subprocess.run([“C:\Program Files (x86)\Internet Explorer\iexplore.exe”, f"https://universalviewer/loadStudy.jsp?user_name=user2022&password=pass2022&rsa=true&accession_number={acc_num}"])

By now I included a st.text with the link and the user must copy and paste.

Any suggestions on how to do that?