ProcessUtils

ProcessUtils

class ProcessUtils

ProcessUtils is a bunch of utility methods.

This class contains static methods only and is not meant to be instantiated.

Methods

static string escapeArgument(string $argument)

Escapes a string to be used as a shell argument.

static mixed validateInput(string $caller, mixed $input)

Validates and normalizes a Process input.

Details

static string escapeArgument(string $argument)

Escapes a string to be used as a shell argument.

Parameters

string $argument The argument that wi