PNaCl: group command parsing and execution