private function transformOptions()
    {
        $processOptions = [];

        foreach ($this->options as $key => $value) {
            $option = $key;

            if ($value) {
                $option .= '=' . escapeshellarg($value);
            }

            $processOptions[] = $option;
        }

        return $processOptions;
    }