Digi 90000566_H manual Set python, Options Range=1, Command=filename

Models: 90000566_H

1 278
Download 278 pages 26.72 Kb
Page 183
Image 183

 

set python

set python

 

Devices

This command is supported in ConnectPort X products only.

supported

 

Purpose

Configures Python programs to execute when the Digi device boots.

Syntax

set python [range=1–4]

 

state={onoff}

 

command=filename

Options

range=1 – 4

 

The index or indices to view or modify with the command.

 

state={onoff}

 

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.

See also

"python" on page 58

 

• The Digi Python Programming Guide.

Chapter 2 Command Descriptions

183

Page 183
Image 183
Digi 90000566_H manual Set python, Options Range=1, Command=filename