public static function escape(array $args): string
  {
    $command = '';
    foreach ($args as $arg)
    {
      if ($command!='') $command .= ' ';
      $command .= escapeshellarg($arg);
    }

    return $command;
  }
public static function escape(array $args): string
  {
    $command = '';
    foreach ($args as $arg)
    {
      if ($command!='') $command .= ' ';
      $command .= escapeshellarg($arg);
    }

    return $command;
  }
public static function escape ( array $ args ) : string { $ command = '' ; foreach ( $ args as $ arg ) { if ( $ command != '' ) $ command .= ' ' ; $ command .= escapeshellarg ( $ arg ) ; } return $ command ; }
Returns a popper escaped command.

@param string[] $args The command and its arguments.

@return string

@since 1.0.0
@api
Returns a popper escaped command .