cpp-subprocess icon indicating copy to clipboard operation
cpp-subprocess copied to clipboard

How to communicate with interactive shell script?

Open Terry1218 opened this issue 1 year ago • 1 comments

Hi Arun, I'm trying to open a interactive shell script then send command and get response, again and again, but only firstly Popen script can get response by communicate function, after this, used opened Popen handle to 'send' msg, can't get response by communicate. Could you help share how to do this? Appreciate it!

Terry1218 avatar Mar 02 '24 08:03 Terry1218

@Terry1218 Sorry for the late reply. Can you also paste a sample code which is not working as expected ? I will take a look at it in my free time.

arun11299 avatar Jul 05 '24 04:07 arun11299