I want to run an executable, redirect it's stdout to my program's via pipe, and LLDB debug my program. So, for example:
cat my_file | ./main
and then debug ./main.
I'm aware of process launch -i my_file
, but that's not exactly what I want to do - I want the output to come from cat's stdout (it could be any other executable which -i wouldn't achieve similar behaviour with).
I see no relevant options under help process launch
.