* Guyzmo had this to say on [21 Nov 2008, 17:01:58 +0100]: [snip] > > I tried using -p'.', guessing the window number (but if the user does > ^ac it will be wrong)... And I am now out of solutions to make it work. > > So here am I with a feature request: how hard would it be to either : > - find a way to return the created window number when command 1/ is > executed (either using the environment, or sending it to stdout)
You can give the window name as a parameter to '-p' too. I believe that will help solve the issue for you. > - execute a sequence of commands like this one : > "screen -X 'screen -t %s %s ; exec ::: python %s %s' % (title, > command, script_path, dbus_id) > so the exec command is sent to the newly created window. Try using 'eval'. Cheers, Sadrul