private function generateArguments(TaskDescriptionInterface $description)
    {
        $cmdPart = '';
        $arguments = $description->getArguments();
        if (!is_array($arguments)) {
            return $cmdPart;
        }
        foreach ($arguments as $argumentValue) {
            if (is_string($argumentValue) || is_integer($argumentValue)) {
                $cmdPart .= ' ' . escapeshellarg($argumentValue);
            }
        }
        return $cmdPart;
    }