in reply to Capture::Tiny getting stuck on ldd /proc/self/fd/1
Before setting command: /proc/self/fd/1 Before running command
Why are you running ldd on STDOUT of your script? /proc/self pertains to the running process, the numbers 0, 1, 2 in the fd directory are STDIN, STDOUT and STDERR. These are not executables.
The standard file handles are redirected by Capture::Tiny. I have not looked deeply at what happens, but ldd tries to read from a file handle which doesn't deliver anything, and capture can't read since ldd doesn't deliver. Smells of deadlock. The Ctrl-C cancels the program invoked by capture, and the program continues.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Capture::Tiny getting stuck on ldd /proc/self/fd/1
by ovedpo15 (Pilgrim) on Jun 22, 2021 at 10:06 UTC | |
by shmem (Chancellor) on Jun 22, 2021 at 11:22 UTC | |
by choroba (Cardinal) on Jun 22, 2021 at 15:17 UTC | |
by shmem (Chancellor) on Jun 22, 2021 at 15:22 UTC | |
by ovedpo15 (Pilgrim) on Jun 22, 2021 at 13:59 UTC | |
by shmem (Chancellor) on Jun 22, 2021 at 15:08 UTC | |
by ovedpo15 (Pilgrim) on Jun 22, 2021 at 15:40 UTC | |
|