Spawning a detached screen session for the sole purpose of running an executable or shell-command?

Dun Peal <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
Hi,

I'd like to be able to run executables or (bash) shell-commands in
their own detached screen sessions, so I can naturally interact with
all their IO streams: read stdout and stderr, write to stdin.

What's the best way to do that?

Ideally it would be something like `git -dmS foo-interaction foo`,
where foo is the executable in the $PATH, except I tried that and it
didn't work.

Thanks, D.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.