Topic: Autodetach screen

I'm working on a perl-sript that should use ssh to login to a computer, and then start a screen'ed program. I've figured out the login-part, and how to start screen with the specific program, but how do I autodetach the screen-program? I can't use -D beqause I'm not root...

Must run suid root for multiuser support.

Re: Autodetach screen

Not sure about what you wanna do, you want to start a program with screen and detach it directly after that?

Re: Autodetach screen

Gribber wrote:

Not sure about what you wanna do, you want to start a program with screen and detach it directly after that?

Exactly.

4 (edited by Gribber 2004-05-05 18:58)

Re: Autodetach screen

i think this should work then:

screen -dmS muu program

Re: Autodetach screen

Gribber wrote:

i think this should work then:

screen -dmS muu program

Thanks alot! :)

Gonna try it right away.

Re: Autodetach screen

Worked like a sharm!

I've tried -d before, but not in the combination with m and S. Thanks alot Gribber! :)

7 (edited by Gribber 2004-05-06 03:45)

Re: Autodetach screen

Nemas problemas :)