Have you tried bat 'runas /user:foo mycommand' or Bat 'psexec user mycommand'
-- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d76f9d52-48e5-4689-8692-d576c2e4c428%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
