Re: Raku opens a notepad when executing a .bat

2022-12-06 Thread ToddAndMargo via perl6-users
On 12/6/22 07:31, ToddAndMargo via perl6-users wrote: On 12/6/22 01:44, ToddAndMargo via perl6-users wrote: Hi All, Windows Pro Chromebook Edition 22H2  (W11) raku -v  Welcome to RakudoΓäó v2022.07. When ever I run the following, it opens a Notepad with the text of the calling raku program. r

Re: Raku opens a notepad when executing a .bat

2022-12-06 Thread ToddAndMargo via perl6-users
On 12/6/22 01:44, ToddAndMargo via perl6-users wrote: Hi All, Windows Pro Chromebook Edition 22H2  (W11) raku -v  Welcome to RakudoΓäó v2022.07. When ever I run the following, it opens a Notepad with the text of the calling raku program. raku -e "use lib '.'; use NativeWinUtils :RunCmd; say Ru

Re: Raku opens a notepad when executing a .bat

2022-12-06 Thread ToddAndMargo via perl6-users
On 12/6/22 03:31, ToddAndMargo via perl6-users wrote: This is obviously not a raku issue, but a Windows issue. I think I misspoke. I do believe qqx is trying to run the sub from the module. I will put together a few tests in a couple of days to see if I can get it to repeat, then I will tag i

Re: Raku opens a notepad when executing a .bat

2022-12-06 Thread ToddAndMargo via perl6-users
On 12/6/22 03:31, ToddAndMargo via perl6-users wrote: On 12/6/22 03:13, ToddAndMargo via perl6-users wrote: On 12/6/22 02:40, Ralph Mellor wrote: Please confirm that: * Entering `ls` at the command line prompt does what it says    on the tin, it does not open notepad. * A Raku program that co

Re: Raku opens a notepad when executing a .bat

2022-12-06 Thread ToddAndMargo via perl6-users
On 12/6/22 03:13, ToddAndMargo via perl6-users wrote: On 12/6/22 02:40, Ralph Mellor wrote: Please confirm that: * Entering `ls` at the command line prompt does what it says    on the tin, it does not open notepad. * A Raku program that consists of the single line `qqx 'ls'` does    what it sa

Re: Raku opens a notepad when executing a .bat

2022-12-06 Thread ToddAndMargo via perl6-users
On 12/6/22 02:40, Ralph Mellor wrote: Please confirm that: * Entering `ls` at the command line prompt does what it says on the tin, it does not open notepad. * A Raku program that consists of the single line `qqx 'ls'` does what it says on the tin, and does not open notepad. If those are

Re: Raku opens a notepad when executing a .bat

2022-12-06 Thread Ralph Mellor
Please confirm that: * Entering `ls` at the command line prompt does what it says on the tin, it does not open notepad. * A Raku program that consists of the single line `qqx 'ls'` does what it says on the tin, and does not open notepad. If those are true, then this code: ``` use lib '.'; u