ifm3dpy.run

ifm3dpy.run(arg0: list) Tuple[int, str]

This function provides python application interface to run command line tool

Note: It is not recommended to use this for scripting as there is no way to monitor progress or handle errors, instead please directly use the functions provided by the corresponding modules. This function is mainly intended to be used to integrate the ifm3d CLI into existing console based applications.

Parameters

argv (py::list) – command line parameter in the list. e.g. to call a ‘ls’ command [‘ls’, ‘–ip=192.168.0.69’]

Returns

Tuple(int,string) – execution state and output string.

Return type

py::tuple(int,string)