About 344,000 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 …

  3. 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 …

  4. 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 …

  5. 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?

  6. 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 …

  7. How do you start running the program over again in gdb with …

    50 When you're doing a usual gdb session on an executable file on the same computer, you can give the run command and it will start the program over again. When you're running gdb on an …

  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 …

  9. How do I re-run code in Python? - Stack Overflow

    Jul 12, 2012 · Step : Top of code def main() Step : restart = input("Do you want to play a game?").lower() Step : Next line; if restart == "yes": Step : Next line; Indent - main() Step : …

  10. How can I restart a Java application? - Stack Overflow

    Nov 11, 2010 · How can I restart a Java AWT application? I have a button to which I have attached an event handler. What code should I use to restart the application? I want to do the …