background image
Code_Aster
®
Version
7.4
Titrate:
Operator EXEC_LOGICIEL
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U7.00.01-C
Page
:
1/4
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A
Organization (S):
EDF-R & D/AMA















Instruction manual
U7.0- booklet: Data exchanges
Document: U7.00.01



Operator EXEC_LOGICIEL



1 Goal
To call since Code_Aster, a software or a control system. External software and control
system called must reside and will be carried out on the same machine as Code_Aster. It is more
particularly intended for the development of macro-controls. The mechanism of the fork type used
in the Unix version to call executable allows to recover the whole of the environment
cutting process associated with Code_Aster and more particularly an area allocated memory
identical.
background image
Code_Aster
®
Version
7.4
Titrate:
Operator EXEC_LOGICIEL
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U7.00.01-C
Page
:
2/4
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A
2 Syntax
EXEC_LOGICIEL
(
SOFTWARE
= nom_exe,
(TX)
ARGUMENT = _F
(
NOM_PARA = will l_para,
(l_TX)
)
)
background image
Code_Aster
®
Version
7.4
Titrate:
Operator EXEC_LOGICIEL
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U7.00.01-C
Page
:
3/4
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A
3 Operands
3.1 Operand
SOFTWARE
SOFTWARE = nom_exe
Name of the control or executable to call. It is a character string (between `), it
is necessary to specify the whole of the path (path) to reach L `executable. On the machine of reference
AlphaServer clayastr, the execution of Code_Aster is carried out under a temporary index, it
is thus not always possible to reach into relating to a file.
Note:
The officially referred software must have an entrance point under one
particular index managed by the administrator (/aster/tools on clayastr).
developer of macro-control must take the precaution to build the name in
concaténant the name of the index of installation which it will recover using a utility so
to ensure the portability of it.

3.2 Word
key
ARGUMENT
Allows to define the list of the arguments passed in the executable one.

3.3 Operand
NOM_PARA
NOM_PARA = will l_para
Names or values of the arguments passed to the executable one. The values passed in the form of
character strings, to load of executable to decode them, they are transmitted such
which, the character ``(white) being used as separator, the key word must be repeated time as many as it
y has arguments to pass.


4 Example
EXEC_LOGICIEL is not the only solution to call a control or a program, it is
possible while inserting a control python os.system to carry out the same type of operation.
background image
Code_Aster
®
Version
7.4
Titrate:
Operator EXEC_LOGICIEL
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U7.00.01-C
Page
:
4/4
Instruction manual
U7.0- booklet: Data exchanges
HT-66/05/004/A


























Intentionally white left page.