But this:
perl6 -e 'shell("vim sample"); exit'
behaves acceptably.
On 9/3/18, Parrot Raiser <[email protected]> wrote:
> Is Windows really that brain-dead? Pity it has to sabotage everyone else.
>
> This invokes vim successfully, but leaves an ugly error message around:
>
> perl6 -e 'exit shell("vim sample")'
> No such method 'Int' for invocant of type 'Proc'
> in block <unit> at -e line 1
>
>
> On 9/3/18, Brandon Allbery <[email protected]> wrote:
>> It's not basic: Windows doesn't have it at all, it has to be simulated.
>> The
>> intent is that system dependent things like that should be external to
>> the
>> core.
>>
>> On Mon, Sep 3, 2018 at 12:56 PM Parrot Raiser <[email protected]> wrote:
>>
>>> Thanks for the reply. That didn't show up with any search string I
>>> could contrive.
>>> It's disappointing to lose a basic ability like handing over control
>>> to another program.
>>>
>>> On 9/3/18, Elizabeth Mattijsen <[email protected]> wrote:
>>> > https://docs.perl6.org/language/5to6-perlfunc#exec
>>> >
>>> >> On 3 Sep 2018, at 18:41, Parrot Raiser <[email protected]> wrote:
>>> >>
>>> >> In Perl 5, a program can hand over control to another with exec:
>>> >> https://perldoc.perl.org/functions/exec.html
>>> >> e.g perl -e 'exec vim' opens up vim
>>> >>
>>> >> What's the Perl 6 equivalent?
>>> >
>>>
>>
>>
>> --
>> brandon s allbery kf8nh
>> [email protected]
>>
>