getpid
Returns the current process ID.
Syntax
R = getpid
Outputs
- R
- Current process ID.
Examples
R = getpid
R = 16832
Discover new features and enhancements.
Discover Compose, including its language support and system requirements.
The Compose tutorials and associated example model files help introduce you to the basic functionality of the software.
Provides detailed information regarding the features and functionality available in Compose.
Reference guides are available for functions and commands supported by OML, Tcl, and Python.
OpenMatrix is a mathematical scripting language.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Changes the current directory to dir.
Changes the current directory to dir.
Returns the current cputime used by Compose.
Returns the current date as a string in the format DD-MMM-YYYY.
Deletes the file(s), f.
Records all commands and outputs of an interactive session in a file. If no arguments are passed, the diary state is toggled.
Directory listing of the current or specified directory.
Executes a dos command on Windows.
Encrypts a script file into a binary executable file based on the file extension.
Returns the path separator, dependent on the system.
Creates a path with the directory and sub-directories under dir.
Returns the current process ID.
Displays information and contents of file(s) or directories.
Creates an absolute path with input name, without checks made for the existance of the path on disk.
Creates the directory newdir in the current working directory by default.
Removes the directory dir.
Opens the user startup script for editing (GUI application only).
Shows the path to the user startup script.
Executes the shell command stringCommand. If executed in 'sync' mode or without additional inputs, the application waits until the execution is complete. If executed in 'async' mode, stringCommand is executed in a detached thread and control is returned to the application immediately.
Executes the unix shell command stringCommand.
Reference guides are available for functions and commands supported by OML, Tcl, and Python.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Returns the current process ID.
Returns the current process ID.
R = getpid
R = getpid
R = 16832
(c) Altair Engineering, Inc. All rights reserved.