We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1be5e21 + b68fa39 commit 8802065Copy full SHA for 8802065
src/SupportsOpera.php
@@ -3,7 +3,6 @@
3
namespace Appstract\DuskDrivers\Opera;
4
5
use Symfony\Component\Process\Process;
6
-use Symfony\Component\Process\ProcessBuilder;
7
8
trait SupportsOpera
9
{
@@ -47,10 +46,11 @@ public static function stopOperaDriver()
47
46
*/
48
protected static function buildOperaProcess()
49
50
- return (new ProcessBuilder())
51
- ->setPrefix(realpath(__DIR__.'/../bin/operadriver-'.static::driverSuffix()))
52
- ->getProcess()
53
- ->setEnv(static::operaEnvironment());
+ return (new Process(
+ [realpath(__DIR__.'/../bin/operadriver-'.static::driverSuffix())],
+ null,
+ static::operaEnvironment()
+ ));
54
}
55
56
/**
0 commit comments