[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to execute a script inside of screen?

From: Phil Snowberger
Subject: Re: How to execute a script inside of screen?
Date: Thu, 14 Feb 2008 12:31:15 -0500
User-agent: Mutt/1.4.1i

On Thu, Feb 14, 2008 at 04:42:07AM -0500, address@hidden wrote:
> How can I execute a shell script inside of screen and keep the shell
> open? If I do something like
> screen -dmS myscreen ./
> the screen session is terminated after "" finishes. Using
> the "zombie" option in screenrc, I can at least see the output after
> reattaching. But what I really want is to keep an interactive shell as
> if I would start screen without any argument. 

You could make sure that runs 'exec bash' before
terminating, or just wrap in, which
merely does

exec bash

Is that what you're looking for?

Phil Snowberger -- address@hidden
Department of Computer Science and Engineering
University of Notre Dame

reply via email to

[Prev in Thread] Current Thread [Next in Thread]