About 53 results
Open links in new tab
  1. How do I restart a program based on user input? - Stack Overflow

    27 I'm trying to restart a program using an if-test based on the input from the user. This code doesn't work, but it's approximately what I'm after:

  2. Batch file - restart program after every 20 minutes

    Mar 24, 2013 · I want to create batch file which starts a program and after 20 minutes will close the program and start it again. The only thing I know about a batch file is how to start a program: @echo …

  3. Is it possible to restart a program from inside a program?

    Oct 14, 2016 · 69 If you really need to restart the whole program (i.e. to "close" and "open" again), the "proper" way would be to have a separate program with the sole purpose of restarting your main one. …

  4. Python restart program - Stack Overflow

    I made a program that asks you at the end for a restart. I import os and used os.execl(sys.executable, sys.executable, * sys.argv) but nothing happened, why? Here's the code: restart = input("\\n...

  5. Restart python-script from within itself - Stack Overflow

    Jul 4, 2012 · From within the program the user can download (using Git) newer versions. If such exists/are downloaded, a button appear that I wish would restart the program with newly compiled …

  6. How to make a script automatically restart itself?

    That is the first time you run it. When the program ended, you would go back to your Cheese.py file and then press F5 to run the program again. Everybody with me here? OK, so my question is, how do …

  7. python - Restart program tkinter - Stack Overflow

    Jan 14, 2017 · I am wondering on how I can create a restart button that once clicked, can restart the entire script. What I thought was that you destroy the window then un-destroy it but apparently there …

  8. how to restart a python program after it crashes - Stack Overflow

    Jul 22, 2020 · I have a python script that starts a program and automates through it, continuously processing new data and saves to a pre-set directory. What is the recommended way to run the …

  9. How to restart program automatically if it crashes in Windows?

    How can I start my program automatically if it crashes on windows 2003 server? Sometimes my program just crashes, is there a way in windows or settings that I can set?

  10. How do I restart my C# WinForm Application? - Stack Overflow

    Apr 23, 2009 · Developing a C# .NET 2.0 WinForm Application. Need the application to close and restart itself. Application.Restart(); The above method has proven to be unreliable. What is a better way to …