Is there is any way to have os/exec call CreateProcessAsUser or CreateProcessWithLogon? I've tried calling ImpersonateLoggedOnUser, as well as replacing the user token after the process is spawned, and neither route has the desired effect.
All I can come up with is copying the whole os/exec package, and modifying the code. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.