runners: clean up temp files before exiting the runner
Clean up created temp files before exiting the runner.
This commit is contained in:
parent
99af178c6d
commit
bc04bfc366
6 changed files with 11 additions and 1 deletions
|
|
@ -14,5 +14,6 @@ if __name__ == "__main__":
|
|||
runners.tmpfiles()
|
||||
runners.nsswitch()
|
||||
r = subprocess.run(sys.argv[1:], check=False)
|
||||
runners.remove_tmpfiles()
|
||||
|
||||
sys.exit(r.returncode)
|
||||
|
|
|
|||
|
|
@ -14,5 +14,6 @@ if __name__ == "__main__":
|
|||
runners.tmpfiles()
|
||||
runners.nsswitch()
|
||||
r = subprocess.run(sys.argv[1:], check=False)
|
||||
runners.remove_tmpfiles()
|
||||
|
||||
sys.exit(r.returncode)
|
||||
|
|
|
|||
|
|
@ -15,5 +15,6 @@ if __name__ == "__main__":
|
|||
runners.nsswitch()
|
||||
runners.sequoia()
|
||||
r = subprocess.run(sys.argv[1:], check=False)
|
||||
runners.remove_tmpfiles()
|
||||
|
||||
sys.exit(r.returncode)
|
||||
|
|
|
|||
|
|
@ -41,5 +41,6 @@ if __name__ == "__main__":
|
|||
os_release()
|
||||
runners.python_alternatives()
|
||||
r = subprocess.run(sys.argv[1:], check=False)
|
||||
runners.remove_tmpfiles()
|
||||
|
||||
sys.exit(r.returncode)
|
||||
|
|
|
|||
|
|
@ -16,5 +16,6 @@ if __name__ == "__main__":
|
|||
runners.python_alternatives()
|
||||
env = runners.quirks()
|
||||
r = subprocess.run(sys.argv[1:], env=env, check=False)
|
||||
runners.remove_tmpfiles()
|
||||
|
||||
sys.exit(r.returncode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue