Run commands as a goroutine