2024-01-06 19:38:47 +01:00
|
|
|
#!/home/autismbot1/ze_runner/venv/bin/python3
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
import subprocess
|
|
|
|
#deleting POSIX shared memory objects, as long as one process has them open they exist. THis is to prevent /dev/shm from being full
|
|
|
|
#due to steam child processes.
|
|
|
|
#even with steam turned offline might there be chromium web browsers left over from steam who still hold processes open.
|
|
|
|
#only kind of potential issues from this is steam cloud being out of sync, which is really fucking irrelevant.
|
2024-03-03 11:43:13 +01:00
|
|
|
whoami = subprocess.getoutput(["whoami"])
|
2024-01-06 19:38:47 +01:00
|
|
|
subprocess.getoutput([f"pkill -9 -u {whoami}"])
|