1platform::shell(n)           Tcl Bundled Packages           platform::shell(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       platform::shell - System identification support code and utilities
9

SYNOPSIS

11       package require platform::shell ?1.1.4?
12
13       platform::shell::generic shell
14       platform::shell::identify shell
15       platform::shell::platform shell
16______________________________________________________________________________
17

DESCRIPTION

19       The  platform::shell  package  provides several utility commands useful
20       for the identification of the architecture of a specific Tcl shell.
21
22       This package allows the identification of the architecture  of  a  spe‐
23       cific  Tcl shell different from the shell running the package. The only
24       requirement is that the other shell (identified by its path), is  actu‐
25       ally executable on the current machine.
26
27       While  for most platform this means that the architecture of the inter‐
28       rogated shell is identical to the architecture  of  the  running  shell
29       this  is  not generally true. A counter example are all platforms which
30       have 32 and 64 bit variants and where a 64bit system  is  able  to  run
31       32bit code. For these running and interrogated shell may have different
32       32/64 bit settings and thus different identifiers.
33
34       For applications like a code repository it is important to identify the
35       architecture  of  the shell which will actually run the installed pack‐
36       ages, versus the architecture of the shell running the repository soft‐
37       ware.
38

COMMANDS

40       platform::shell::identify shell
41              This command does the same identification as platform::identify,
42              for the specified Tcl shell, in contrast to the running shell.
43
44       platform::shell::generic shell
45              This command does the same identification as  platform::generic,
46              for the specified Tcl shell, in contrast to the running shell.
47
48       platform::shell::platform shell
49              This  command returns the contents of tcl_platform(platform) for
50              the specified Tcl shell.
51

KEYWORDS

53       operating system, cpu architecture, platform, architecture
54
55
56
57platform::shell                      1.1.4                  platform::shell(n)
Impressum