Python OSError: [Errno 2]
Only guess is that it can't find screen
. Try /usr/bin/screen
or whatever which screen
gives you.
Use ["screen", "-dmS", "RealmD", "top"]
instead of ["screen -dmS RealmD top"]
.
Maybe also use the complete path to screen
.