aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.153 - [sys] Built-In

Mnemonic aid: sys for SYStem

This provides a means to execute a system command.

If the command creates output, it will be incorporated into the output stream.

If the command encounters a problem, the stderr results will also be incorporated into the output stream.

If you wish to suppress the output of the command with regard to the output stream, execute it within a  [comment]  and that will prevent the results from appearing.


[sys shellCommand]

[sys date]
[comment [sys date]]

Wed Feb 18 12:52:43 MST 2026
Wed Feb 18 12:52:43 MST 2026

Other built-ins used here:  [comment] 

As shell commands can present a significant security risk, there is a means to disable this capability when instantiating the class. If noshell=True then  [sys]  does nothing:

mod = macro(noshell=True)
Keyboard Navigation
, Previous Page . Next Page t TOC i Index
This manual was generated with wtfm
on February 18th, 2026 at 12:52 MT
wtfm uses aa_macrov3 and SqLite
aa_macrov3 uses Python 3