Separate argument processing for delayshell/recordshell