GNU Screen: send "stuff" command to detached screen session?
When I try to "stuff" text into a detached screen session using the command:
screen -XS $sessionName stuff "$text `echo -ne '\015'`"
It doesn't seem to do anything. But, if I first attach to the screen, do nothing, then detach it, and run the command again, it seems to work reliably. Does anyone know why this is?
|