in reply to Need Command to Hit Enter

Can you try something like this?
<>; Generate_conf_file();