I’m not sure if that is working properly on my system. It opens a dialogue box that just has content “” with cancel/ok buttons .
I tried populating a file tab.txt with a few lines because I am not sure if my results from the first part are what’s expected, which is 1 line. No matter what the content the best I can do is get the first line to show in the dialogue but not in an interactive way.
Tbh having a bit of a hard time following what’s going on with 2>&1 tee. But I am not sure how it could be the right thing as I don’t see more than input?
where the user’s input gets directed to some sort of structure. Like an argument As though you had a terminal script with the syntax scriptname --filename=“file.txt” --content=“red green blue”.