java.lang.Process exits with different return code on 1.6 vs 1.7.0-b146
I work on apache maven, and I see that a fork command using java.lang.Process returns a different result on latest 1.7 vs 1.6. The command being forked is (quotes preserved exactly)
cmd.exe /X /C "git rev-parse --verify HEAD"
The command is excuted through Runtime.getRuntime().exec() and consistently returns process return code of 1 on 1.7 while it's "0" on 1.6.
This is part of a platform-specific forking logic that in a component called plexus-utils that is part of all maven builds.
Doeas anyone know if this is a known change, a bug or if I should file a bug ?