Nothing is writing and closing StdInR so it will never complete. 

On Jun 17, 2024, at 9:54 PM, Salvatore Domenick Desiano <neard...@gmail.com> wrote:


A bunch of typos. The last paragraph should have been:

This program deadlocks after 5 seconds. The three deadlocked Go routines are the explicit go func() (stuck on io.Copy() because cmdStdoutR never closes), exec.Command's internal Go routine copying data to stdin also (stuck on io.Copy() because cmdStdinR never closes), and the main routine (stuck on cmd.Wait()).

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEQs7S9e8bmCd7cFAzDTu5g3rUQnuT7iaKo%2BLRR-J1nH%3D9%2BNBw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/5F4E3FB8-03A4-4DC6-B566-4330A2F2DC8E%40ix.netcom.com.

Reply via email to