sys#

Mapdl.sys(cmd, **kwargs)#

Pass a command string to the operating system.

APDL Command: /SYS

Passes a command string to the operating system for execution (see the Operations Guide). Typical strings are system commands such as list, copy, rename, etc. Control returns to the ANSYS program after the system procedure is completed. ANSYS may not be aware of your specific user environment. For example, on Linux this command may not recognize aliases, depending on the hardware platform and user environment.

Parameters:
cmdstr

Command string, up to 639 characters (including blanks, commas, etc.). The specified string is passed verbatim to the operating system, i.e., no parameter substitution is performed.

Returns:
str

Output from the command.

Examples

>>> mapdl.sys('ls')