Spec-Zone .ru
спецификации, руководства, описания, API
Spec-Zone .ru
спецификации, руководства, описания, API
Библиотека разработчика Mac Разработчик
Поиск

 

Эта страница руководства для  версии 10.9 Mac OS X

Если Вы выполняете различную версию  Mac OS X, просматриваете документацию локально:

Читать страницы руководства

Страницы руководства предназначаются как справочник для людей, уже понимающих технологию.

  • Чтобы изучить, как руководство организовано или узнать о синтаксисе команды, прочитайте страницу руководства для страниц справочника (5).

  • Для получения дополнительной информации об этой технологии, ищите другую документацию в Библиотеке Разработчика Apple.

  • Для получения общей информации о записи сценариев оболочки, считайте Shell, Пишущий сценарий Учебника для начинающих.



platform::shell(n)                          Tcl Bundled Packages                          platform::shell(n)



____________________________________________________________________________________________________________

NAME
       platform::shell - System identification support code and utilities

SYNOPSIS
       package require platform::shell ?1.1.4?

       platform::shell::generic shell
       platform::shell::identify shell
       platform::shell::platform shell
____________________________________________________________________________________________________________

DESCRIPTION
       The  platform::shell  package  provides several utility commands useful for the identification of the
       architecture of a specific Tcl shell.

       This package allows the identification of the architecture of a specific Tcl shell different from the
       shell  running the package. The only requirement is that the other shell (identified by its path), is
       actually executable on the current machine.

       While for most platform this means that the architecture of the interrogated shell  is  identical  to
       the architecture of the running shell this is not generally true. A counter example are all platforms
       which have 32 and 64 bit variants and where a 64bit system is able to run 32bit code. For these  run-ning running
       ning and interrogated shell may have different 32/64 bit settings and thus different identifiers.

       For  applications  like  a  code repository it is important to identify the architecture of the shell
       which will actually run the installed packages, versus the architecture  of  the  shell  running  the
       repository software.

COMMANDS
       platform::shell::identify shell
              This  command does the same identification as platform::identify, for the specified Tcl shell,
              in contrast to the running shell.

       platform::shell::generic shell
              This command does the same identification as platform::generic, for the specified  Tcl  shell,
              in contrast to the running shell.

       platform::shell::platform shell
              This command returns the contents of tcl_platform(platform) for the specified Tcl shell.

KEYWORDS
       operating system, cpu architecture, platform, architecture



platform::shell                                     1.1.4                                 platform::shell(n)

Сообщение о проблемах

Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:

Ошибки содержания
Ошибки отчета в содержании этой документации к проекту Tcl.
Отчеты об ошибках
Сообщите об ошибках в функциональности описанного инструмента или API к Apple через Генератор отчетов Ошибки и к проекту Tcl через их страницу создания отчетов ошибки.
Форматирование проблем
Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.