first version for child console process management