progName = "";
}
int bufLen = getSpawnWorkBufSize0(cmdZBlock, envZBlock, cmd.length,
env != null ? env.length : 0);
byte[] workBuf = new byte[bufLen >= 0 ? bufLen : -1 >>> 1];
VMChannel inCh = new VMChannel();
VMChannel outCh = new VMChannel();
VMChannel errCh = redirect ? null : new VMChannel();
int[] fdsArr = { -1, -1, -1 };
long[] pidArr = new long[1];
boolean retrying = false;
do
{