argv, stdin, stdout added to process and readline fixed