change process' commands from string to sequence