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
> >> <perl6-us...@perl.org <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
>

Reply via email to