Re: [go-nuts] Windows vs Linux ReadString

2019-07-20 Thread Michael Jones
show some code.

On Sat, Jul 20, 2019 at 6:15 PM Allan Edwards 
wrote:

> 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  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
> 
> .
>


-- 

*Michael T. jonesmichael.jo...@gmail.com *

-- 
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/CALoEmQys5ecJXUTaQH8LH0ypOyAfhkm_%3Dmt14WFnKC52y0gT%2BA%40mail.gmail.com.


Re: [go-nuts] Windows vs Linux ReadString

2019-07-20 Thread Allan Edwards
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 > 
> 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.


Re: [go-nuts] Windows vs Linux ReadString

2019-07-20 Thread Ian Lance Taylor
On Sat, Jul 20, 2019 at 1:48 PM  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/CAOyqgcV8DUGjAkeEvyRpkoOL0Yh33huS%2BRzDWB0O8YEPCj0ruQ%40mail.gmail.com.


[go-nuts] Windows vs Linux ReadString

2019-07-20 Thread wallanedwards
Guys

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?

Thanks in advance,
Allan

-- 
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/d5ed6db8-4510-41e7-8ecf-9dc2f7adc435%40googlegroups.com.