# CGI Status > [HTML Version](cgistatus.htm) _Updated November 2025_ **xcall CGIUTL, CGIOP\_STATUS, status** _Opcode_ 0, CGIOP\_STATUS, simply checks if A-Shell was launched with the _–cgi_ or _-cgifast_ switches. This can be useful when writing programs that work differently depending on whether they are running inactively or under control of a web server. **Parameters** _status _([Num](num.htm.md)) \[out\] | **Symbol** | **Value** | **Session launched...** | |------|------|------| | | 0 | in normal mode—i.e., not -cgi or -cgifast. | | CGIF\_NORMAL | 1 | by web server in -cgi mode. | | CGIF\_FASTCGI | 2 | by web server in -cgifast (aka FastCGI or fcgid) mode. | | | \-2 | by web server in -cgifast but FastCGI/fcgid not supported by web server. |