Have u tried -X stuff "command | command2" with the quotes?
On 19 Nov 2016 7:36 am, "aws backup" wrote:
> Hello,
>
> I would like to start a screen session in detached mode and send a command
> pipeline to it. How can I do this?
> With my approach
>
> *screen -d -m -S Name Command1; Command2 |
C" and it worked.
Thank you. I got it working now with -X stuff "^C"
No need to mess around with PID and process killing now.
Thank you everyone for your help.
- Colin
On 26 September 2016 at 18:11, Jostein Berntsen
wrote:
> On 26.09.16,14:17, Colin Richardson wrote:
>
I am attempting to break a nodejs application that is running in a detached
screen. (From another screen nodejs application).
But I am falling over at the first hurdle in just trying to send a break
command in the first place.
I am doing ` screen -S ser02 -X "^C" `
But when I do ` screen -r ser02