checking for the length of stdout in main.go to make sure there is no empty slice