-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Dec 26, 2014 at 15:36:00 -0500, jenia.ivlev wrote:
> Then I want to execute a command in that screen session:
>
>     screen -S asti -X "screen"
>
> This will create a second window.
>
> But how do I run a program in that second window?
>
> I tried 
>
>     screen -S "asti" program

screen -S asti screen PROGRAM

See screen(1) for the `screen' command under the CUSTOMIZATION heading.

- -- 
Mike Gerwitz
Free Software Hacker | GNU Maintainer
http://mikegerwitz.com
FSF Member #5804 | GPG Key ID: 0x8EE30EAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJUnioOAAoJEPIruBWO4w6rsJEP/j5siVkWH4Stjb0JPN8gwdBc
OTt+MNu2TerfJtdYOidLpE7ZpA+uBo7bOJYp25MD5BXUhjrfYLdHAoktEOjznqRM
zVeulX99fUnHcgti19O93UDZ+p7iUujqi8Gl55GlOv6U9OYlT13bFXVth1/s/RoP
180lwCa4NwuTw5MVBEghJNf3i6xQqAGYKozqJwPQFtJgacMDiDIceILszn60YdFH
UM4btN0PPbCSABcteLEDk8pzSzQbcw8DvAQXSipV5JuzFosYyImTzcMjJUr5ScUf
Oq6oe2M5WCT8g01aT650DOLRAO2rkoKg6uYVfHYabl/1UPiaBPCMmzR4RDpNGuNM
XXGkALtwCx+NR3FgPqao85FQwxIlqEebEsJW7ydDVNiycxnypwehNQjdbqIbRZS2
uhxdo0eIbzkrdgP/RSgSdB+nyceUGifYTUk+IWn2B0f+STJtxEMob1ZyrBma1/cm
RszHUY3He/ApckLMXMzG+wk575ksCSjj6PBovIW3nVNH38iEA7ELZW7TKLk9bSNd
95ro605kaUbk+XyLL47XVbo7C7R+yWUZ62rLgXk0mTZgdKPJasi5zsljs/9Cd3A+
QV5NCNrB0NUsdza87kdNYzIWNhoS8LjLyb9O4KyhlNsenr9pC3Vq+y/TdFrL+I1Z
cN4EQUGir5FNNoomWvYr
=i82g
-----END PGP SIGNATURE-----

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to