Need to enable a way to continuously communicate between test program (C#) and python interpreter to be able to send commands or scripts to the interpreter during the test program flow.
Example : Python manager should be able to start the python process or multiple python processes Python manager should be able to track all python processes by name/process ID example: Python.Start("ThisProcessIsPyval") ---> Starts the process, with Name tracked by the object (like the TCPIP handlername concept) Python.Start("ThisProecssisXray") --> Starts the process, tracked as "ThisProcessIsXray" Be able to terminate the process by name/PIDs Python.Terminate("ThisProcessIsPyval") --> Ends the Process Be able to send direct python commands, and return stdout results example: Python.Send("ThisPyisPyval", <command>) where command is "print("hello world")" be able to execute a python script (when given the absolute path), and return script output in stdout example: Python.Script("ThisPyisPyval", <path_to_script>) where script is pythonscript.py located at c:\python\scripts\slt Be able to run multiple commands through a Python process / Python CLI
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)