Jim C. wrote:
I do the following:[EMAIL PROTECTED] bin]$ screen -dm [EMAIL PROTECTED] bin]$ screen -ls There is a screen on: 22539..mirage (Detached) 1 Socket in /tmp/uscreens/S-sdn20. [EMAIL PROTECTED] bin]$ screen -S 22539..mirage -X exec "/bin/ls -l" [EMAIL PROTECTED] bin]$ ...but when I re-attach the screen there is no evidence to show that the command executed. I've been pouring over the man pages and I cannot discern the proper syntax for this. Clue please?
Executing in a screen means executing a screen command, not a shell command. Here, it seems that you want screen to run a shell command in a new window. So what you have to do is : screen -S 22539..mirage -X screen watch /bin/ls -l HTH Flupke -- << There's no place like ~! >> _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
