Laravel envoy error - Call to undefined method

1k Views Asked by At

When I run envoy ssh it works however if I try and run envoy run list which is just a ls command, it returns:

Uncaught Error: Call to undefined method Symfony\Component\Process\Process::fromShellCommandline()

Any ideas what I am doing wrong? I am using latest laravel 6.2 and latest laravel envoy

@servers(['localhost' => '127.0.0.1'])

@task('list')
    ls
@endtask
1

There are 1 best solutions below

0
On

I reinstalled envoy with the latest version and seems to have fixed the problem.