Allow overwriting maxBuffer for exec command