class ProcessUtils (View source)

ProcessUtils is a bunch of utility methods. We want to allow Robo 1.x to work with Symfony 4.x while remaining backwards compatibility. This requires us to replace some deprecated functionality removed in Symfony.

Methods

static string
escapeArgument(string $argument)

Escapes a string to be used as a shell argument.

Details

static string escapeArgument(string $argument)

Escapes a string to be used as a shell argument.

This method is a copy of a method that was deprecated by Symfony 3.3 and removed in Symfony 4; it will be removed once there is an actual replacement for escapeArgument.

Parameters

string $argument

The argument that will be escaped.

Return Value

string

The escaped argument.