Question Bryan Cass · Nov 10, 2023 Python: How to pass parameter to Cache routine and receive back response I have an existing Python script that opens a child session using the pexpect library. But currently all it does is send hard-coded commands to the Cache process and expect a hard-coded response back in order to continue in the script. I would like to run a Cache routine from the script, pass in a parameter, and wait for a response that will be different every time (a date, in this case). So the call would be something like D $$Tag^Routine(parameter) and wait for the routine to complete and return the response. #Python #InterSystems IRIS 0 3 0 334