Wow, thanks for responding guys.  So I ran my exe on linux without goland 
and bam the readstring blocked as needed.  For some reason the ReadString 
call is not blocking  inside of goland.  It seems like a great IDE but I 
found a weird bug.  On the Windows side the ReadString blocks inside of 
golandon Windows.  It just does not work correctly on Linux.

On Saturday, July 20, 2019 at 3:52:39 PM UTC-5, Ian Lance Taylor wrote:
>
> On Sat, Jul 20, 2019 at 1:48 PM <wallan...@gmail.com <javascript:>> 
> wrote: 
> > 
> > I started a go project on windows that leveraged readstring to read 
> command line input.  It blocked on Windows.  I just ran my code on Linux 
> and the readstring does not block at all.  Can someone explain this to me? 
>
> We will be able to help you better if you show us your code and tell 
> us precisely what you did. 
>
> Ian 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/675c8964-f2eb-475b-b042-20e01af50e99%40googlegroups.com.

Reply via email to