Access initial_config in CLI through attr reader
Mock stderr in generator spec to get rid of warning
Dup process action event to avoid threading issue