Set Python - Digi ConnectPort LTS8 Command Reference Manual

Connectport lts series terminal server
Hide thumbs Also See for ConnectPort LTS8:
Table of Contents

Advertisement

Command descriptions

set python

Purpose
Configures Python programs to execute when the ConnectPort LTS product boots.
Syntax
set python [range=1–4]
[state={on|off}]
[command= filename ]
Options
range=1 – 4
The index or indices to view or modify with the command.
state={on|off}
When the state is set to on, the command specified will be run when the device boots.
command=filename
The program filename to execute, including any arguments to pass with the program, similar to the
arguments for the "python" command. While this option allows for programs to be run from a TFTP
server, this use is not recommended. If there are spaces to provide arguments, make sure to wrap
the entire command in quotation marks.
Example
#> py dia.py
See also
python
n
The Digi Python Programming Guide
n
ConnectPort® LTS Command Reference
set python
99

Advertisement

Table of Contents
loading

Table of Contents