in reply to "- |" pipe option doesn't work
Hi,
It looks like you want to run the external command "sdb shell hcidump". There are several modules to help you, like IPC::Run3, or perhaps IPC::Run, which has the ability to communicate with the subprocess interactively. Update: However, the latter has somewhat spotty test results on Windows, whereas the former looks pretty good on all OSes. A potential disadvantage of IPC::Run3 is that it can't communicate with the subprocess interactively, and in many cases it uses temp files for the redirections (although I personally don't really see that as a problem).
Hope this helps,
-- Hauke D
|
|---|