title: How can i run .cmd file from http trigger azure function
body: <p>I want to run .cmd file using azure function. I want to run this in background process instead of main process of azure function.</p>
  
  <p>I have already saved the cmd file on azure function platform using Kudu Editor. I can run this locally but after deploying its not working at all (I am also not getting any error). </p>
  
  <pre><code>      string cmdFileLocation = @"D:\home\jobs.cmd";
         Process proc = new Process();
         ProcessStartInfo info = new ProcessStartInfo();
         try
         {
             info.FileName = cmdFileLocation;
             info.Arguments = name;
             info.WindowStyle = ProcessWindowStyle.Minimized;
             info.UseShellExecute = false;
             proc.StartInfo = info;
             info.RedirectStandardOutput = true;
             info.RedirectStandardError = true;
             proc.Start();
             proc.WaitForExit();
          }
          catch (Exception ex)
          {
              log.LogInformation("Exception Occurred :{0},{1}", ex.Message, ex.StackTrace.ToString());
          }
  </code></pre>
  
  <p>For testing there is curl command in cmd file. The curl will trigger on local machine using azure function as I can see the request coming (<a href="https://webhook.site" rel="nofollow noreferrer">https://webhook.site</a>) but after deplying nothing happens.</p>