title: Start.Process() .net Core doesn't work in Linux Docker
body: <p>I have created a docker container with a ASP.net Core Service. This service, however, should start another service inside the docker container. The problem I am facing right now is that Process.Start() doesn't seem to work in this Linux container. </p>
  
  <p>This is what I tried so far:</p>
  
  <pre><code>            Process process;
              ProcessStartInfo processInfo;
  
              string fileName = "bin/bash dotnet run /root/SubService/SubService.API.dll";
              string arguments = $"Company --urls http://localhost:5000/SolutionName";
              string escapedArguments  = $"-c /{arguments}/";
  
              processInfo = new ProcessStartInfo(escapedFilename, escapedArguments)
              {
                  CreateNoWindow = true,
                  UseShellExecute = false,
                  WindowStyle = ProcessWindowStyle.Hidden,
                  RedirectStandardError = false,
                  RedirectStandardOutput = false
              };
  
              try
              {
                  process = Process.Start(processInfo);
                  process.WaitForExit();
                  process.Close();
              }
              catch(Exception e)
              {
                  Console.WriteLine(e.Message);
              }
  
  </code></pre>
  
  <p>When Process.Start(processInfo) is called I get the exception "No such file or directory". The path, however, is correct.
  What could be the problem? Or is there an alternative way to start a process from a asp.net core service.</p>
  
  <p>Thank you.</p>