I’d like a way for os.system() or subprocess.call() not return ANY text in the terminal.
I want to have code running in the background that closes out of an application whenever it opens, and I already have that down
def x():
os.system("code here")
subprocess.call("code here")
x()
would return…
(code here) was executed successfully
How would I keep it from returning the error or output no matter what? I have it running in the background with threading but it doesn’t make a difference either way.
I’ve tried this questions answers but they either don’t work, or show the output still.