I have written the post commit hook in python. In my python script i need to call the application by using another user account. Because post commit hook running as empty environment not a user specific.
Is anyway to call application as specific user in subprocess ?
Note that i have used windows amchine.
Thanks in advance.