I’m coding a reverse TCP in python and I want he run in background process how can I do that ?
Save as .pyw
Or use os.fork() to create a new process.
thank for your answers guys !
what does saving as .pyw does exactly??
On Windows, it tells the system to not execute a shell for the process, or something like that. I don’t think it exists on Linux.
http://stackoverflow.com/questions/9705982/pythonw-exe-or-python-exe/30313091#30313091
I just run this in windows not try in linux yet.
ok thanks!!
But you can do os.fork() anyways…
I think is pretty much comfortable
This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.
By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.