Run .exe executable file in Azure Function

Viewed 21681

I have executable abcd.exe (it contains/merged with many .dll). Is it possible to create Azure Function for abcd.exe and run it in Azure Cloud Functions?

The abcd.exe application :

System.Diagnostics.Process process = new System.Diagnostics.Process();

System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();

startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;

startInfo.FileName = "cmd.exe";

**startInfo.Arguments = "/C abcd.exe";**

process.StartInfo = startInfo;

process.Start();

The abcd.exe application does not have UI (GUI), but it is math and scientific Application and it depend from many .dll which are merged inside abcd.exe.

Thank you

3 Answers

no problem if you just run it in local machine, but run in azure, if will failed unfortunately . I'm simply tell everybody the truth, which is impossible to Run .exe executable file in Azure Function, so stop wasting time on trying figure out this topic, it took me 3 days to realized that the azure function is kind of nanoserver which everything in sandbox nothing else can be executed from inside

Related