I have a python script that is supposed to be running in the background. I used pyinstaller
to create an executable file for the script. Now, this file opens up a terminal window. I don't have anything that is going to be printed on the terminal window, so I want it to close up just after starting up the process. How can I do that? Right now I just have a continous loop like this:
while True:
myFunction()
time.sleep(some-arbitrary-timeout-value)