Open ghost opened 6 years ago
Not that I'm aware of, but hopefully someone can answer.
I am executing batch commands in my UWP-App (https://github.com/thebigsmileXD/CustomCommandsForCortana) using System.Diagnostics.Process
, but issues occur on commands which need higher permission levels (like shutdown
or similar).
Thanks @thebigsmileXD for your solution.
But UWP's System.Diagnostics
namespace does not support Process
method.
I tried cloning your solution; and it shows build errors due to some incorrect dll references.
your code looks correct; but this doesn't seem standard way to achieve this in UWP.
When i try to launch the .bat file using the similar code; nothing happens. It is not supporting
System.Diagnostics.Process
as well. Is there any method launch executable or command using UWP?