Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (elfendb.checkfilepath("MS_SETUP", "Description"))
- {
- System.Diagnostics.Process process = System.Diagnostics.Process.Start(elfendb.Checkfilepathlocations("MS_SETUP"));
- while (true)
- {
- string message = CheckIfProcessIsRunning("Microsoft Office Click-to-Run Client") ? "True" : "NFalse";
- Console.WriteLine(message);
- Thread.Sleep(10000);
- }
- //while (!process.HasExited && process.Responding)
- //{
- //running while keep running stay here and loop but does not goes though once and breaks out.
- //}
- image showing process list,
- https://i.imgur.com/Mx90xcR.png
- Details tab
- https://i.imgur.com/OUjHVfh.png
- // sorry would not let me post this on form so have to do it this way.
Advertisement
Add Comment
Please, Sign In to add comment