0

I have a process which will run a subprocess. Both will talk to a device through a serial port. The subprocess will be executing the custom code of a programmer using my library. Sometimes the programmer might want to wait on a response, and sometimes the device can send data on its own to both the process and the subprocess (broadcast). All of this goes to the stdin buffer which I'd have to filter for the wanted data. I'd like to have another stream, maybe couple, for easy data acquisition.

3
  • 1
    Yes, of course, you can. Commented Dec 3 at 10:43
  • @UlrichEckhardt but how?
    – Radar32
    Commented Dec 3 at 12:40
  • IMO a more detailed description of the problem may help get the answer you are looking for. Commented Dec 3 at 13:12

0

Browse other questions tagged or ask your own question.