Re: How do I open Raku in the background?

2020-03-31 Thread ToddAndMargo via perl6-users

On 2020-03-31 01:12, ToddAndMargo via perl6-users wrote:

On 2020-03-30 21:06, ToddAndMargo via perl6-users wrote:
On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users 
mailto:perl6-us...@perl.org>> wrote:


 >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users
 >> mailto:perl6-us...@perl.org>
    >> wrote:
 >>
 >> Hi All,
 >>
 >> Windows 10-1909 Pro
 >>
 >> raku -v
 >> This is Rakudo version 2020.01 built on MoarVM version
 >> 2020.01.1 implementing Perl 6.d.
 >>
 >> I am opening Raku from the registry with
 >>
 >> [HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]
 >> @="\"C:\\rakudo\\bin\\raku.exe\"
 >> \"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""
 >>
 >> Problem: up pops a big black box with Raku running it in.
 >> Is there a way to rid myself of the big black box?
 >> (I have pops for the information that is reported to
 >> the user.)
 >>
 >>
 >> Many thanks,
 >> -T
 >>

    On 2020-03-30 08:04, yary wrote:
 > This is a Windows explorer/shell issue. Search the web; this 
is one

 > approach - use cmd with some switches to start with the window
    minimized
 >
https://stackoverflow.com/questions/4277963/how-to-call-cmd-without-opening-a-window 


 >
 > I'm a fan of Emacs on all my platforms; their solution in 
Windows

    is a
 > tiny executable that opens Emacs without having the secondary 
shell

 > window, if I understand correctly.
 >
 > -y

    Rats.  I was hoping it was something in Raku's run string.

    Thank you for the CMD tip!


On 2020-03-30 19:08, Brad Gilbert wrote:

There is a bit in the executable that tells windows to open a terminal.

If you copy the executable to say rakudo_no_terminal.exe and change 
that bit in the copy, then Windows won't show you a terminal.


How/where do I change this bit?  Hex Edit?

I can see a lot of use for this!!


Thank you!
-T


Hi Rudy,

I know you'd know the answer!  Thank you!

-T

Do you know of a utility to do that for me?




Ooops, wrong group


Re: How do I open Raku in the background?

2020-03-31 Thread ToddAndMargo via perl6-users

On 2020-03-30 21:06, ToddAndMargo via perl6-users wrote:
On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users 
mailto:perl6-us...@perl.org>> wrote:


 >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users
 >> mailto:perl6-us...@perl.org>
    >> wrote:
 >>
 >> Hi All,
 >>
 >> Windows 10-1909 Pro
 >>
 >> raku -v
 >> This is Rakudo version 2020.01 built on MoarVM version
 >> 2020.01.1 implementing Perl 6.d.
 >>
 >> I am opening Raku from the registry with
 >>
 >> 
[HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]

 >> @="\"C:\\rakudo\\bin\\raku.exe\"
 >> \"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""
 >>
 >> Problem: up pops a big black box with Raku running it in.
 >> Is there a way to rid myself of the big black box?
 >> (I have pops for the information that is reported to
 >> the user.)
 >>
 >>
 >> Many thanks,
 >> -T
 >>

    On 2020-03-30 08:04, yary wrote:
 > This is a Windows explorer/shell issue. Search the web; this 
is one

 > approach - use cmd with some switches to start with the window
    minimized
 >

https://stackoverflow.com/questions/4277963/how-to-call-cmd-without-opening-a-window 


 >
 > I'm a fan of Emacs on all my platforms; their solution in Windows
    is a
 > tiny executable that opens Emacs without having the secondary 
shell

 > window, if I understand correctly.
 >
 > -y

    Rats.  I was hoping it was something in Raku's run string.

    Thank you for the CMD tip!


On 2020-03-30 19:08, Brad Gilbert wrote:

There is a bit in the executable that tells windows to open a terminal.

If you copy the executable to say rakudo_no_terminal.exe and change 
that bit in the copy, then Windows won't show you a terminal.


How/where do I change this bit?  Hex Edit?

I can see a lot of use for this!!


Thank you!
-T


Hi Rudy,

I know you'd know the answer!  Thank you!

-T

Do you know of a utility to do that for me?


Re: How do I open Raku in the background?

2020-03-31 Thread ToddAndMargo via perl6-users

On 2020-03-30 21:06, ToddAndMargo via perl6-users wrote:
On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users 
mailto:perl6-us...@perl.org>> wrote:


 >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users
 >> mailto:perl6-us...@perl.org>
    >> wrote:
 >>
 >> Hi All,
 >>
 >> Windows 10-1909 Pro
 >>
 >> raku -v
 >> This is Rakudo version 2020.01 built on MoarVM version
 >> 2020.01.1 implementing Perl 6.d.
 >>
 >> I am opening Raku from the registry with
 >>
 >> 
[HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]

 >> @="\"C:\\rakudo\\bin\\raku.exe\"
 >> \"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""
 >>
 >> Problem: up pops a big black box with Raku running it in.
 >> Is there a way to rid myself of the big black box?
 >> (I have pops for the information that is reported to
 >> the user.)
 >>
 >>
 >> Many thanks,
 >> -T
 >>

    On 2020-03-30 08:04, yary wrote:
 > This is a Windows explorer/shell issue. Search the web; this 
is one

 > approach - use cmd with some switches to start with the window
    minimized
 >

https://stackoverflow.com/questions/4277963/how-to-call-cmd-without-opening-a-window 


 >
 > I'm a fan of Emacs on all my platforms; their solution in Windows
    is a
 > tiny executable that opens Emacs without having the secondary 
shell

 > window, if I understand correctly.
 >
 > -y

    Rats.  I was hoping it was something in Raku's run string.

    Thank you for the CMD tip!


On 2020-03-30 19:08, Brad Gilbert wrote:

There is a bit in the executable that tells windows to open a terminal.

If you copy the executable to say rakudo_no_terminal.exe and change 
that bit in the copy, then Windows won't show you a terminal.


How/where do I change this bit?  Hex Edit?

I can see a lot of use for this!!


Thank you!
-T



Perhaps it is "Subsystem" field (inside the "Optional
Header Windows-Specific Fields (Image Only)" record
of

https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#optional-header-windows-specific-fields-image-only

change 3 (IMAGE_SUBSYSTEM_WINDOWS_CUI) to 2
(IMAGE_SUBSYSTEM_WINDOWS_GUI)?


Re: How do I open Raku in the background?

2020-03-30 Thread ToddAndMargo via perl6-users
On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users 
mailto:perl6-us...@perl.org>> wrote:


 >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users
 >> mailto:perl6-us...@perl.org>
>> wrote:
 >>
 >> Hi All,
 >>
 >> Windows 10-1909 Pro
 >>
 >> raku -v
 >> This is Rakudo version 2020.01 built on MoarVM version
 >> 2020.01.1 implementing Perl 6.d.
 >>
 >> I am opening Raku from the registry with
 >>
 >> [HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]
 >> @="\"C:\\rakudo\\bin\\raku.exe\"
 >> \"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""
 >>
 >> Problem: up pops a big black box with Raku running it in.
 >> Is there a way to rid myself of the big black box?
 >> (I have pops for the information that is reported to
 >> the user.)
 >>
 >>
 >> Many thanks,
 >> -T
 >>

On 2020-03-30 08:04, yary wrote:
 > This is a Windows explorer/shell issue. Search the web; this is one
 > approach - use cmd with some switches to start with the window
minimized
 >

https://stackoverflow.com/questions/4277963/how-to-call-cmd-without-opening-a-window
 >
 > I'm a fan of Emacs on all my platforms; their solution in Windows
is a
 > tiny executable that opens Emacs without having the secondary shell
 > window, if I understand correctly.
 >
 > -y

Rats.  I was hoping it was something in Raku's run string.

Thank you for the CMD tip!


On 2020-03-30 19:08, Brad Gilbert wrote:

There is a bit in the executable that tells windows to open a terminal.

If you copy the executable to say rakudo_no_terminal.exe and change that 
bit in the copy, then Windows won't show you a terminal.


How/where do I change this bit?  Hex Edit?

I can see a lot of use for this!!


Thank you!
-T


Re: How do I open Raku in the background?

2020-03-30 Thread Brad Gilbert
There is a bit in the executable that tells windows to open a terminal.

If you copy the executable to say rakudo_no_terminal.exe and change that
bit in the copy, then Windows won't show you a terminal.

On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:

> >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users
> >> mailto:perl6-us...@perl.org>> wrote:
> >>
> >> Hi All,
> >>
> >> Windows 10-1909 Pro
> >>
> >> raku -v
> >> This is Rakudo version 2020.01 built on MoarVM version
> >> 2020.01.1 implementing Perl 6.d.
> >>
> >> I am opening Raku from the registry with
> >>
> >> [HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]
> >> @="\"C:\\rakudo\\bin\\raku.exe\"
> >> \"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""
> >>
> >> Problem: up pops a big black box with Raku running it in.
> >> Is there a way to rid myself of the big black box?
> >> (I have pops for the information that is reported to
> >> the user.)
> >>
> >>
> >> Many thanks,
> >> -T
> >>
>
> On 2020-03-30 08:04, yary wrote:
> > This is a Windows explorer/shell issue. Search the web; this is one
> > approach - use cmd with some switches to start with the window minimized
> >
> https://stackoverflow.com/questions/4277963/how-to-call-cmd-without-opening-a-window
> >
> > I'm a fan of Emacs on all my platforms; their solution in Windows is a
> > tiny executable that opens Emacs without having the secondary shell
> > window, if I understand correctly.
> >
> > -y
>
> Rats.  I was hoping it was something in Raku's run string.
>
> Thank you for the CMD tip!
>
> -T
>


Re: How do I open Raku in the background?

2020-03-30 Thread ToddAndMargo via perl6-users
On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users 
mailto:perl6-us...@perl.org>> wrote:


Hi All,

Windows 10-1909 Pro

raku -v
This is Rakudo version 2020.01 built on MoarVM version
2020.01.1 implementing Perl 6.d.

I am opening Raku from the registry with

[HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]
@="\"C:\\rakudo\\bin\\raku.exe\"
\"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""

Problem: up pops a big black box with Raku running it in.
Is there a way to rid myself of the big black box?
(I have pops for the information that is reported to
the user.)


Many thanks,
-T



On 2020-03-30 08:04, yary wrote:
This is a Windows explorer/shell issue. Search the web; this is one 
approach - use cmd with some switches to start with the window minimized

https://stackoverflow.com/questions/4277963/how-to-call-cmd-without-opening-a-window

I'm a fan of Emacs on all my platforms; their solution in Windows is a 
tiny executable that opens Emacs without having the secondary shell 
window, if I understand correctly.


-y


Rats.  I was hoping it was something in Raku's run string.

Thank you for the CMD tip!

-T


Re: How do I open Raku in the background?

2020-03-30 Thread yary
This is a Windows explorer/shell issue. Search the web; this is one
approach - use cmd with some switches to start with the window minimized
https://stackoverflow.com/questions/4277963/how-to-call-cmd-without-opening-a-window

I'm a fan of Emacs on all my platforms; their solution in Windows is a tiny
executable that opens Emacs without having the secondary shell window, if I
understand correctly.

-y


On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:

> Hi All,
>
> Windows 10-1909 Pro
>
> raku -v
> This is Rakudo version 2020.01 built on MoarVM version
> 2020.01.1 implementing Perl 6.d.
>
> I am opening Raku from the registry with
>
> [HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]
> @="\"C:\\rakudo\\bin\\raku.exe\"
> \"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""
>
> Problem: up pops a big black box with Raku running it in.
> Is there a way to rid myself of the big black box?
> (I have pops for the information that is reported to
> the user.)
>
>
> Many thanks,
> -T
>


How do I open Raku in the background?

2020-03-29 Thread ToddAndMargo via perl6-users

Hi All,

Windows 10-1909 Pro

raku -v
This is Rakudo version 2020.01 built on MoarVM version
2020.01.1 implementing Perl 6.d.

I am opening Raku from the registry with

[HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command]
@="\"C:\\rakudo\\bin\\raku.exe\" 
\"K:\\Windows\\NtUtil\\FileAttributes.pl6\" \"%1\""


Problem: up pops a big black box with Raku running it in.
Is there a way to rid myself of the big black box?
(I have pops for the information that is reported to
the user.)


Many thanks,
-T