Hello, I'm working with a friend on an installer program for one of our other programs. The installer is supposed to be able to ask the user to update the installer, and if they say yes, the installer will overwrite itself with its latest version from GitHub, then run itself once complete. The way we did this in previous programs was as follows:
os.execute("cd /home; pastebin get -f hh14Sxhi dc15; cls; dc15")
In the above code, the example program cd's to its install directory, overwrites itself using the pastebin command, then runs itself. However