NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cannot start detached sessions (with -m -d) back to back
I have tried to reproduce what I believe are your findings, that some
delay before starting the second session is enough to fix things.
What I am finding is that works to some extent, but then that second
session seems to quickly end.
Here I start a session, list all sessions, quit all sessions, sleep for
10 seconds, start a new session, list all sessions, sleep one second,
and then list all sessions again.
As you can see the second sessions, created after the ten second sleep,
does get created, but is gone a second later.
-bash-5.1$ /usr/pkg/bin/screen -S some-session -p 0 -m -d; screen -ls;
screen -X quit; sleep 10; /usr/pkg/bin/screen -S some-session -p 0 -m
-d; screen -ls; sleep 1; screen -ls
There is a screen on:
2406.some-session (Detached)
1 Socket in /tmp/screens/S-adamcrussell.
There is a screen on:
1197.some-session (Detached)
1 Socket in /tmp/screens/S-adamcrussell.
No Sockets found in /tmp/screens/S-adamcrussell.
Home |
Main Index |
Thread Index |
Old Index