Questions tagged [restart]

Restart refers to the process where a software program or system is systematically (and preferably gracefully) shut down then automatically invoked to full functionality without intervention from the user.

Restart is also often referred to as reboot or reset.

Restarting a software program or system is one of the most common ways to troubleshoot problems as it will put the program or system back into a fresh and predictable state

1535 questions
0
votes
2 answers

When changing state can I re-initialize my code?

So basically I've got a game that runs with 4 game states. One for the main menu and 3 for my mini-games. Within each of these mini games there are smaller states to handle various sections of the gameplay. Now here's my question. When a player dies…
Gandeh
  • 141
  • 1
  • 1
  • 5
0
votes
5 answers

C# - Restarting application conflicts with "program already running" error

When I call the Application.Restart() method, the error comes up that detects whether the application is currently running. Is there anyway around this? static void Main(string[] args) { string proc =…
user
  • 16,429
  • 28
  • 80
  • 97
0
votes
1 answer

AS3 timer event causing trouble

I am creating a game that uses a timer set to a random number. The timer counts up to this number then the game ends. I would like the player to have an option to replay once the timer runs out but I am having trouble determining how to do this.…
0
votes
2 answers

Run .exe in python with all files in directory

I am working on an auto restart script for an exe but there are config files in the directory I need to run with the exe. If I start the exe from the actual file folder it works fine but when I use the script to run the exe it starts the exe without…
0
votes
1 answer

How to force computer not to restart

I am writing batch script to automate the product testing. After product finished installation, I need to force computer NOT to restart. Is there any way to do that with batch script? Thank for reading
Liverpool
  • 131
  • 7
  • 12
0
votes
1 answer

How to reset values and restart program in C

I was wondering on if it was possible to reset all values in a program so that when i call main() to restart my program all the ints and arrays are back to their default values. Thanks everybody! P.S. I declared all my values above my main().
0
votes
1 answer

resolve a statement in Python in order to restart the procedure when an error occurs

I wrote this statement in Python (for convert the program in an executable) in order to load all text files in a folder (*.txt) or a single text file, check if the data format is correct (get_parse and check_header) and process the data. If the data…
Gianni Spear
  • 7,033
  • 22
  • 82
  • 131
0
votes
1 answer

Why does my XAMPP Apache service keep restarting?

For some reason my XAMPP Apache service keeps restarting. It started yesterday, but I can't really find the cause, because I have made many changes to my PC the day before (windows update, antivirus update, installed new programs, etc). The XAMPP…
Cox Szg
  • 245
  • 1
  • 5
  • 11
0
votes
2 answers

I subclassed UIView. Some of its subviews are animated. What's the correct way to restart these?

OK, so I subclassed UIView and the view has a bunch of subviews. These subviews are animating. When i push another View Controller on top, or the app goes into the background, the animations stop. What is the correct way to restart these…
perezda
  • 496
  • 4
  • 11
0
votes
2 answers

Prevent Service to restart

I have an IntentService which is started from a BroadcastReceiver with startService(service). When I get new informations in the BroadcastReceiver the new infos are pushed through an intent with startService(service) again to the IntentService but…
Cilenco
  • 6,951
  • 17
  • 72
  • 152
0
votes
0 answers

Nginx Apache Restart Connection time out

Basically Nginx sits in the front end of the server running on port 80, Apache runs on port 8080 and Nginx delivers all incoming traffic via the proxy to apache. The issue is if I am to restart the apache web server or turn it off Nginx does not…
C0nw0nk
  • 383
  • 2
  • 6
  • 14
0
votes
1 answer

JPA EAGER fetch works only if server is restarted

Good evening everybody, this is my first post on Stack Overflow. I have been quite recently introduced to Java 6 EE and, in particular, to JPA as part of the JSF 2.1 framework and I am now facing a strange behavior that I would like you to help me…
algu84
  • 3
  • 3
0
votes
1 answer

Reconnecting Messenger from Intent Service when activity restarted

I am working on a applicatin that syncs with videos on server. It starts a IntentService that downloads playlist, inserts it into database and than downloads actual video files to sd-card. I am using a messenger passed via intent when starting the…
urSus
  • 12,492
  • 12
  • 69
  • 89
0
votes
2 answers

iOS app needs logged in after iphone restart

May be it will be a too startup question. We have developed an iPhone application and its uploaded in the Appstore. We have our own login mechanism, facabook login, and twitter login. Our users reporting an issue that, when the app is started and…
developerXXX
  • 689
  • 3
  • 7
  • 18
0
votes
3 answers

Run an indefinite PHP script for an hour. Restart every hour

I wrote a PHP script to pull tweets from the Twitter firehose and store them into a database. Ideally I want to just let it run so that it collects tweets over time, thus, it's wrapped in a while(1) loop. This seems to be problematic because it's…
Jon
  • 3,154
  • 13
  • 53
  • 96