c# - UAC and running an exe from Notepad++ with UseShellExecute -
i know question asked before, in several ways, still, haven't found answer specific scenario, i'll glad help.
i'm writing notepad++ plugin, in user click on button , exe file starts running in background, using:
useshellexecute = false; p.startinfo.redirectstandardoutput = true; p.startinfo.redirectstandarderror = true;
etc..., i'm redirecting output npp window.
now, i've encountered problems running exe i've found what's wrong. famous uac.
since i'm running @ work stations (which users not admin), there way run exe file in background (with parameters), without seeing shell window, because, if shell window shown, cannot redirect output npp (right?) 'hack' overcoming admin issue?
as i've understood, using verb="runas"
cannot work useshellexecute = false
, mean is, if want run exe file within notepad++, cannot redirect output notepad++.
am doomed? project flop?
please help...
thanks!
Comments
Post a Comment