Processes sometimes don't appear to execute, on windows

Kendall Shaw <kshaw-BLmIX6/[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <[email protected]>
I'm trying to execute git commands:

git init
git add
git commit
git status --porcelain

I've tried using variations of:

def p = "cmd /c dir".execute()

and waitForProcessOutput

and even using ProcessBuilder directly.

On my laptop it all works. On windows server, the commands sometimes 
don't appear to execute.

Any ideas?

Kendall
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.