Posted on 27th February 2024
On BSD, Unix, Linux, macOS Systems:
Utilize nohup mypythonprog &, also you can close that terminal window without disturbing this process. You can likewise run exit if you are running within that cloud also don't need to leave any hanging shell process.
On Windows System:
Save your program by a .pyw extension plus soon that will open by pythonw.exe. No shell window.
For instance, if you own foo.py, you require to rename that to foo.pyw.
STILL GOT QUERIES?