title: Can ShellExecute run in active session?
body: <p>I have a command  that i need run by cmd.exe when something happens in my program. Let's say the command is "calc.exe". When i use ShellExecute:</p>
  
  <pre><code>HWND win = GetActiveWindow();
  ShellExecute(win,L"open",L"calc.exe",L"",L"", SW_SHOWNORMAL );
  </code></pre>
  
  <p>The calc.exe process starts in session 0 so i cannot see it. Is there any way to set it to start in the active users window? I don't want to use CreateProcess as I have been having privilege issues with it</p>
  
  <p>Thanks</p>