Closed lczub closed 11 years ago
The image command line option _-runscript makes it possible to start the remote_cli in every image via the gis.exe launcher program.
Example: start swaf image with remote cli listen to 14001
set SMALLWORLD_GIS=....\CST420\product set ROBOT_MAGIK_DIR=....\robotframework-magik set ROBOT_CLI_PORT=14001 %SMALLWORLD_GIS%\bin\x86\gis.exe swaf -run_script %ROBOT_MAGIK_DIR%\scripts\start_robot_remote_cli.script
Example: start cambridge swaf open image with remote cli listen to 14002 and accept connections from 111.222.333.*
set SMALLWORLD_GIS=....\CST420\product set CBG_ALIAS_FILE=....\gis_aliases set ROBOT_MAGIK_DIR=....\robotframework-magik set ROBOT_CLI_PORT=14002 set ROBOT_HOSTADDR=111.222.333.* %SMALLWORLD_GIS%\bin\x86\gis.exe -a %CBG_ALIAS_FILE% cam_db_open_swaf -login root/ -run_script %ROBOT_MAGIK_DIR%\scripts\start_robot_remote_cli.script
Example, how to use the python start stop scripte
Closed with commit 83e0d57221 (tag v0.2.0)
a) the start script should
b) the stop script should