#!/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. 
    whoami = subprocess.getoutput(["whoami"])
    subprocess.getoutput([f"pkill -9 -u {whoami}"])