reopen STDERR STDIN STDOUT in switched workspace
i'm running a script or program that starts in one workspace in the display. it switches to a different workspace. i need for this script/program to work with the console in the new workspace. it needs to re-open STDERR STDIN and STDOUT to the console of the new workspace. it turn out that "/dev/tty" is still the console of the old workspace. how do i get "/dev/tty" updated to the new workspace so i can re-open STDERR STDIN and STDOUT? i may end up with a similar issue with virtual text consoles in the next related project.
Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer
Bookmarks