Def proc = command.execute()

When the groovy script def proc = command.execute() runs, how can I set this to use a specific app. For example i do not want this to use cmd.exe on my windows machine, I want this to use git.exe. Please advise.

The topic is closed due to inactiveness. Feel free to create a new one if you have any concerns.