bandit/examples/os-startfile.py

7 lines
86 B
Python

import os
os.startfile('foo.docx')
os.startfile('bad.exe')
os.startfile('text.txt')