Re: [racket-users] Re: GUI executable creating an annoying command line window

2020-06-01 Thread Philip Benade
Hi Andre

This was 100% caused by using an outdated version of DrRacket. In my case 
the terminal window was just empty, no messages. It seems that If any of 
your code produces an output in the REPL window of DrRacket that will cause 
the terminal window to show.

Regards
Philip

On Monday, 1 June 2020 02:00:57 UTC+2, Andre Garzia wrote:
>
> I noticed a similar behavior if I left any dangling "display" or "write" 
> in the code, a terminal window would open with those messages in it. Is 
> this what might be happening to you?
>
> On Tue, 26 May 2020 at 12:09, Philip Benade  > wrote:
>
>> Hi Alex
>>
>> I managed to get it working. Updating Dr.Racket to 7.7 did the trick. I 
>> should have thought of it sooner, but I became so wrapped up in looking for 
>> the problem in my code I didn't think of it.
>>
>> Thank you for your help.
>>
>> Regards
>> Philip
>>
>> On Tuesday, 26 May 2020 11:50:58 UTC+2, Alex Harsanyi wrote:
>>>
>>>
>>> I cannot reproduce this.  If I create the executable from the command 
>>> line using "raco exe --gui work-timer.rkt", or from DrRacket specifying 
>>> GRacket as the "base", the console window does not show up.  
>>>
>>> If I create the executable using "raco exe work-timer.rkt" or by 
>>> specifying "Racket" as the base in DrRacket, the console window shows up, 
>>> but this is expected.
>>>
>>> I am using Racket 7.7 (BC, not the Chez version).
>>>
>>> Alex.
>>>
>>> On Tuesday, May 26, 2020 at 5:00:01 PM UTC+8, Philip Benade wrote:

 Hi All

 I have been trying to create a simple GUI with the racket/gui library. 
 For the most part it works but alongside my GUI it also creates a command 
 line window. You can see a screenshot of this in the attached picture. I 
 found this discussion when I searched for a solution: 
 https://groups.google.com/forum/#!topic/racket-users/QmvqWtm1x28 In 
 that case it was happening because there were things that did not return 
 void. In my case however it is not printing anything, there isn't even any 
 white space.

 I am using the "Create Executable" option from the "Racket" heading in 
 Dr.Racket's menu. I set the Type to be "Distribution (to install on other 
 machines)" and the Base to "GRacket" and keep the "Embed DLLs in the 
 executable" check box checked. Is there some setting or something I can 
 change to make this window to go away?

 I have attached my program's .rtk file in case anyone needs it to see 
 what I'm doing wrong.

 Regards
 Philip

>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/racket-users/40774e6e-7b89-4cd2-a21a-f1a936783c94%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> http://www.andregarzia.com
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/0be98c95-66dd-4946-b069-a2ba59eb428e%40googlegroups.com.


Re: [racket-users] Re: GUI executable creating an annoying command line window

2020-05-31 Thread Andre Garzia
I noticed a similar behavior if I left any dangling "display" or "write" in
the code, a terminal window would open with those messages in it. Is this
what might be happening to you?

On Tue, 26 May 2020 at 12:09, Philip Benade  wrote:

> Hi Alex
>
> I managed to get it working. Updating Dr.Racket to 7.7 did the trick. I
> should have thought of it sooner, but I became so wrapped up in looking for
> the problem in my code I didn't think of it.
>
> Thank you for your help.
>
> Regards
> Philip
>
> On Tuesday, 26 May 2020 11:50:58 UTC+2, Alex Harsanyi wrote:
>>
>>
>> I cannot reproduce this.  If I create the executable from the command
>> line using "raco exe --gui work-timer.rkt", or from DrRacket specifying
>> GRacket as the "base", the console window does not show up.
>>
>> If I create the executable using "raco exe work-timer.rkt" or by
>> specifying "Racket" as the base in DrRacket, the console window shows up,
>> but this is expected.
>>
>> I am using Racket 7.7 (BC, not the Chez version).
>>
>> Alex.
>>
>> On Tuesday, May 26, 2020 at 5:00:01 PM UTC+8, Philip Benade wrote:
>>>
>>> Hi All
>>>
>>> I have been trying to create a simple GUI with the racket/gui library.
>>> For the most part it works but alongside my GUI it also creates a command
>>> line window. You can see a screenshot of this in the attached picture. I
>>> found this discussion when I searched for a solution:
>>> https://groups.google.com/forum/#!topic/racket-users/QmvqWtm1x28 In
>>> that case it was happening because there were things that did not return
>>> void. In my case however it is not printing anything, there isn't even any
>>> white space.
>>>
>>> I am using the "Create Executable" option from the "Racket" heading in
>>> Dr.Racket's menu. I set the Type to be "Distribution (to install on other
>>> machines)" and the Base to "GRacket" and keep the "Embed DLLs in the
>>> executable" check box checked. Is there some setting or something I can
>>> change to make this window to go away?
>>>
>>> I have attached my program's .rtk file in case anyone needs it to see
>>> what I'm doing wrong.
>>>
>>> Regards
>>> Philip
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/40774e6e-7b89-4cd2-a21a-f1a936783c94%40googlegroups.com
> 
> .
>


-- 
http://www.andregarzia.com

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAF3jwT%3DsLQqB7OFj56dm_xzZo1hSktttf8twrfMAGeB6S2PeWg%40mail.gmail.com.


[racket-users] Re: GUI executable creating an annoying command line window

2020-05-26 Thread Philip Benade
Hi Alex

I managed to get it working. Updating Dr.Racket to 7.7 did the trick. I 
should have thought of it sooner, but I became so wrapped up in looking for 
the problem in my code I didn't think of it.

Thank you for your help.

Regards
Philip

On Tuesday, 26 May 2020 11:50:58 UTC+2, Alex Harsanyi wrote:
>
>
> I cannot reproduce this.  If I create the executable from the command line 
> using "raco exe --gui work-timer.rkt", or from DrRacket specifying GRacket 
> as the "base", the console window does not show up.  
>
> If I create the executable using "raco exe work-timer.rkt" or by 
> specifying "Racket" as the base in DrRacket, the console window shows up, 
> but this is expected.
>
> I am using Racket 7.7 (BC, not the Chez version).
>
> Alex.
>
> On Tuesday, May 26, 2020 at 5:00:01 PM UTC+8, Philip Benade wrote:
>>
>> Hi All
>>
>> I have been trying to create a simple GUI with the racket/gui library. 
>> For the most part it works but alongside my GUI it also creates a command 
>> line window. You can see a screenshot of this in the attached picture. I 
>> found this discussion when I searched for a solution: 
>> https://groups.google.com/forum/#!topic/racket-users/QmvqWtm1x28 In that 
>> case it was happening because there were things that did not return void. 
>> In my case however it is not printing anything, there isn't even any white 
>> space.
>>
>> I am using the "Create Executable" option from the "Racket" heading in 
>> Dr.Racket's menu. I set the Type to be "Distribution (to install on other 
>> machines)" and the Base to "GRacket" and keep the "Embed DLLs in the 
>> executable" check box checked. Is there some setting or something I can 
>> change to make this window to go away?
>>
>> I have attached my program's .rtk file in case anyone needs it to see 
>> what I'm doing wrong.
>>
>> Regards
>> Philip
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/40774e6e-7b89-4cd2-a21a-f1a936783c94%40googlegroups.com.


[racket-users] Re: GUI executable creating an annoying command line window

2020-05-26 Thread Alex Harsanyi

I cannot reproduce this.  If I create the executable from the command line 
using "raco exe --gui work-timer.rkt", or from DrRacket specifying GRacket 
as the "base", the console window does not show up.  

If I create the executable using "raco exe work-timer.rkt" or by specifying 
"Racket" as the base in DrRacket, the console window shows up, but this is 
expected.

I am using Racket 7.7 (BC, not the Chez version).

Alex.

On Tuesday, May 26, 2020 at 5:00:01 PM UTC+8, Philip Benade wrote:
>
> Hi All
>
> I have been trying to create a simple GUI with the racket/gui library. For 
> the most part it works but alongside my GUI it also creates a command line 
> window. You can see a screenshot of this in the attached picture. I found 
> this discussion when I searched for a solution: 
> https://groups.google.com/forum/#!topic/racket-users/QmvqWtm1x28 In that 
> case it was happening because there were things that did not return void. 
> In my case however it is not printing anything, there isn't even any white 
> space.
>
> I am using the "Create Executable" option from the "Racket" heading in 
> Dr.Racket's menu. I set the Type to be "Distribution (to install on other 
> machines)" and the Base to "GRacket" and keep the "Embed DLLs in the 
> executable" check box checked. Is there some setting or something I can 
> change to make this window to go away?
>
> I have attached my program's .rtk file in case anyone needs it to see what 
> I'm doing wrong.
>
> Regards
> Philip
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/2bcb57b6-73c4-41cb-b737-64d0cb0cf31e%40googlegroups.com.