PDA

View Full Version : Screen Stuff Command


lealoureiro13
September 10th, 2007, 11:08 AM
I Have a problem when i try to input stuff commands in a screen session.
I Start a session with -dmS and after e try enter the following command in the session:

> screen -S $name -X stuff $'comand\015'

and no result

but if I enter in that session with

> screen -r $name

and quit session (CTRL +A +D) and after put the same command, i have result

I want make a startup script and i not be able to enter to al sessions to do after commands in all sessions.

Can I help me??


greatings