title: Universal Windows Platform (UWP) C# app - How to run stand alone python inside your application
body: <p>I am trying to find a way to call python from my UWP app. So far I have a .exe file that I have compiled from python using pyinstaller (www.pyinstaller.org/). This basically allows me to package up my python script as a standalone binary (ie: you don't need python to run it). This all works well and I can call my wrapped up python .exe via cmd.exe no problem:</p>
  
  <blockquote>
    <p>$ process.exe -p "path\to\file"</p>
    
    <p>$ Processing file: "path\to\file"...</p>
    
    <p>$ Done.</p>
  </blockquote>
  
  <p>So now I just need to call it from my UWP app - so I have added it to my application like so:</p>
  
  <blockquote>
    <p>C# Project</p>
    
    <blockquote>
      <p>Assets/process.exe</p>
    </blockquote>
  </blockquote>
  
  <p>Frustratingly, I've not had much luck googling for answers to my problem - my attempted solutions so far have included:</p>
  
  <ul>
  <li>Calling the "Assets/process.exe" directly from my app</li>
  <li>Looked at "Launch an app and get results". I think this seams to be for external applications however... I certainly didn't get it going anyway.</li>
  <li>Opening the cmd.exe (somehow) and calling my process.exe from there.</li>
  </ul>
  
  <p>I'm not even sure if I'm trying to do this the correct way or not. Or if I have just not understood some of my findings. Or (fingers crossed) there is a simple solution to this I just don't know about and have somehow missed as I'm very new to UWP development and C#.</p>
  
  <p>So any solutions/pointers here would be greatly appreciated thanks!!</p>