Challenge: who can background this shell command?
Bob Sneidar
bobsneidar at iotecdigital.com
Fri Aug 2 10:40:10 EDT 2019
This is a fascinating thread. When all this is sussed out, a nice thing to have is a function that takes arguements for all the heretofore literals, and does the deed. It can be added to the master library.
Bob S
> On Aug 2, 2019, at 07:13 , Dar Scott Consulting via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I'm assuming you can send the ^c down the process connection. That is, write to the opened process. Wait a bit after that or look at the response, and then shut down the polling send-loop and then close the connection if it is not already closed,
>
> It might be that simply closing the connection to the process will cause it to shutdown gracefully. However, it would be nice to see the graceful shutdown.
>
> I'd collect the reads and put them in a field on a stack just for monitoring the output. You can make it development only or you can make it part of your thing. This will allow you to see what is going on. It also allows you to see why Dar's idea of sending ^c doesn't work.
More information about the use-livecode
mailing list