// This thread function would launch a child process // in the interactive session of the logged-on user. public static void MyThreadFunc() { CreateProcessAsUserWrapper.LaunchChildProcess(@"C:\Users\anisb\source\repos\ReadImageBridge\RIBridge\bin\Debug\RIBridge.exe"); }
// This thread function would launch a child process // in the interactive session of the logged-on user. public static void MyThreadFunc() { CreateProcessAsUserWrapper.LaunchChildProcess("C:\\Windows\\notepad.exe"); }