fifo ret value check
modified cgi_folder_path to cgi_path