|Subject:||Re: Sending Command Pipeline to a detached Screen|
|Date:||Sat, 19 Nov 2016 13:54:45 +0200|
thank you. I tried but nothing arrived in the screen or it did arrive but didn't start.
What is the exact syntax? Can I start the screen and send the commands in one command or do I have to start the screen in one command and in the next command I send the pipeline? I tried it like this:
screen -d -m -S Screen-Name; screen -S Screen-Name -p 0 -X stuff "Command1; Command2 | Command3 && Command4"
How is it with quotations in the command pipe? Can they interfere? For example: -X stuff "command "$f" | command2 "text""
|[Prev in Thread]||Current Thread||[Next in Thread]|