0

I made a script, that runs in a screen session. This script shall run several new scripts in a new screen, if they are down. (They crash frequently, so this is necessery). But for some reason, the script does not start a new screen. It is no error seen on the screen, when the script tries to start the new screen and the script does not abort work. So I think there is a problem to launch a new screen from within another screen.

So, how can I start a new screen session from within another screen?

Keith Thompson
  • 254,901
  • 44
  • 429
  • 631
Cydhra
  • 581
  • 1
  • 7
  • 17
  • Well, I know, that it is possible, but I did not find out, how... – Cydhra Jun 09 '14 at 14:08
  • Ok, after testing it again and again, I do not think, it is a problem with the screens. When I run the script as a job and not as a screen, I end up with the same problem. I do not know, what the problem is... First, I call a script, that is the first screen, it starts multiple other scripts. Those other scripts does not run the new screen anymore, but do a normal echo call... I do not know, what could be the problem... even to sudo the script does not help... – Cydhra Jun 09 '14 at 14:20

1 Answers1

1

Ok, I found out... The second screen was terminating itself immidiatly after creating... Don't know why, but that's the reason... Solved it complicated, but it work now!

Cydhra
  • 581
  • 1
  • 7
  • 17