[Answered ]-Opening Local Desktop Applications from website button

1👍

The issue come from a misunderstanding of what you’re doing. In fact it does not even work locally, what is happening is that the os.system and os.Popen will perform a task on the operating system where the code is running, so in your case the server.
When you develop locally the server and your machine are the same so you see the application opening on the server and think it’s on your machine since it’s the same device.
When you develop on some other machine the server and the local machine are no longer the same and when the application open on the server you don’t see it on your machine since they’re not the same anymore.

What you’re trying to do can’t be done by using the os library, instead I’ll recommend to start by reading this documentation :
https://weblogs.asp.net/morteza/How-to-run-a-desktop-application-from-a-web-page

Leave a comment