Reputation: 675
I need to start an exe on Windows from a flutter app build for Windows.
In the app, when "Avvia SedisRemoteController" is pressed, an exe installed on Windows should run.
Anyone knows how to do it with the code? The command for windows cmd is simply
"C:\Program Files (x86)\Sedis Remote Controller\SedisRemoteController.exe"
Upvotes: 1
Views: 1202
Reputation: 675
I founded a workaround: using
https://pub.dev/packages/open_file/example
Adding this
OpenFile.open("C:/Program Files (x86)/Sedis Remote Controller/SedisRemoteController.exe");
Upvotes: 2