Questions tagged [application-restart]

Questions based on restarting programs in various programming languages belong in this tag.

Based on certain conditions, the entire application may need to be restarted. In these cases, it is likely that the code file in question is already being run as the main() of the application. Restarting an application at this level is not always trivial.

Since different languages may handle this differently, a question tagged with this tag must also be tagged with the programming language being used

236 questions
0
votes
1 answer

LearnBoost's Up for Node.js doesn't seem to restart my apps correctly?

I've been using LearnBoost's Up for Node.js as a way for me to have zero-downtime when I'm changing or uploading new code for my projects. Because my projects are using web sockets (via Socket.io) I don't want my app to cold reload as those…
littlejim84
  • 9,071
  • 15
  • 54
  • 77
0
votes
1 answer

VS 2005 restarting when building project solution? How to resolve it?

I getting one issue in vs2005 website project solution. When I start build my vs2005 project in some time vs2005 shows error:- "Microsoft Visual studio has encountered a problem and needs to close". every time restart visual studio when I started…
Abhishek B.
  • 5,112
  • 14
  • 51
  • 90
-1
votes
2 answers

What is the best way to reincarnate an application that dies?

How do I force an application to restart even after a user closes it or its process is killed from Task Manager? I tried using a windows service with a timer but the limitation of windows service is that a user can stop the service.
-1
votes
1 answer

Android save state of ListView Item containing Button and Textbox on app restart

This question might already be existent in StackOverflow, but I was unable to find it because I was not sure how to describe this scenario with the exact wordings, therefore I thought I should rather ask a new question and describe it here. I have a…
-1
votes
2 answers

C# using a message box(yes/no) to restart my game

I am creating a minefield style game as a task and I am wondering if there is a quick easy way to restart my game. When the character walks on to a bomb, I have a message box pop up saying 'game over, try again?' with a Yes and No option. I want the…
Mike1211
  • 23
  • 6
-1
votes
1 answer

Restart C program from Bash terminal

I've been working on my school project and I've been stuck on this step for a few days now. Any kind of help would be highly appreciated!   What I've tried so far:   Compiling the script. It compiles correctly and I'm able to run it by typing…
Jones
  • 41
  • 1
  • 1
  • 10
-1
votes
1 answer

cannot restart app in openshift after updated gem

I couldn't restart my app via rhc restart {myapp} after run gem updating. I ran: rhc restart-app {myapp} Then they asked me for password. after typed the password, I see: Unable to authenticate the user. Please try again and contact support if the…
-1
votes
2 answers

How to restart app again when user exit from application

Hi in my code when user press back button from mainactivity he/she exit from the application but problem is when user again press application icon it resume the mainactivity where i left it..... i want to restart my app again when user click on…
Sam Iqbal
  • 33
  • 4
-1
votes
2 answers

Save everything of an activity

I've got an activity and I want to keep everything inside it (Bitmaps, texts, buttons..) so when the user restarts the phone and clicks on my app, everything is like the last time he used it. Any idea? I've been reading about the lifecycle of an…
Aldridge1991
  • 1,326
  • 6
  • 24
  • 51
-2
votes
2 answers

Restart java program

I was hoping to get some help. I have a java game of battleship and wanted to give the player the option to play again when they finished, but don't really know how. Any help will be great! public class Battle { public static void main(String[]…
-5
votes
1 answer

Can we program the app to restart on its own?

My app doesn't function as intended after fresh installation on the device. The user has to manually close the app and start it again for proper functionality. A quick fix is needed, something as simple as the app restarting on its own after first…
Greg
  • 357
  • 1
  • 11
1 2 3
15
16