0401 - startup.py script

I strongly suggest you all edit your extensions startup.py scripts:


cheers

April fools day joke? What should be in that gif? Your PC is infected!
(by this new startup script) :smile:

0104

1 Like

Ok so I know this was a fun joke for April Fools day but I thought of something while reading this.

I forgot about this startup.py script and wondered. Could I add some lines of code to run a .bat file located on a server somewhere?

Try this:

import subprocess
path = r"C:\HelloWorld.bat"
subprocess.call([path])
3 Likes