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
3
votes
1 answer

Nodemon doesn't exec command while restarting

I have a problem about the --exec parameter of nodemon. Following this article (http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/) i try to set up my dev environnement with only NPM but nodemon refuse to serve my node server when i put…
matt2mi
  • 156
  • 3
  • 14
3
votes
3 answers

How can I restart my python 3 script?

I am making a program on python 3. I have a place that I need the script to restart. How can I do this. #where i want to restart it name= input("What do you want the main character to be called?") gender = input("Are they a boy or girl?") if…
3
votes
0 answers

How to get an email when a computer is about to restart?

My work computer usually restarts once a week over night. This is done for security purposes. I don't know in advance when this could happen. Sometimes it may take even a month until the next restart. My problem is that I have scripts running on my…
Pasha
  • 181
  • 1
  • 1
  • 13
3
votes
1 answer

WiX uninstall - close application before Restart Manager

I have an installer done with WiX. When it's done installing, it starts an application that injects some code in the Explorer process. Currently when I uninstall, the Restart Manager kicks in and offers to shut down my application and Explorer.…
Ivo Beltchev
  • 61
  • 1
  • 3
3
votes
2 answers

How to programmatically restart a jar?

Can an executable jar file can restart itself? For instance, after a user made some choice, the program says "Restart the app?" and the user clicks "Yes" then the jar shuts down and restarts itself.
Frank
  • 30,590
  • 58
  • 161
  • 244
3
votes
1 answer

Android: Sticky Service not restarting

My app uses a Service for background tasks. I want the Service to keep running when user kills the app(swipes it away). There are two scenario's in which the user kan kill the app: Scenario 1: When in app: 1 User presses **backbutton**, apps…
MeesterPatat
  • 2,671
  • 9
  • 31
  • 54
3
votes
1 answer

How do I start again an external JavaFX program? Launch prevents this, even if the JavaFX program ended with Platform.Exit

From my MainProject (Java 8) i starts a JavaFX 8 Class. public void startFX() { if (isRestartPrintModul() == true) { fxMain.init(); } else { setRestartPrintModul(true); fxMain.main(new String[] {"ohne"}); …
3
votes
1 answer

Can Monit be used to free up memory?

I've been using monit to monitor and restart Apache and MySQL for several months now and all has been working fine until today when something on the server caused the memory utilization to exceed 90%, MySQL stopped and monit then tried to…
DoubleSpeed
  • 43
  • 1
  • 5
3
votes
1 answer

How to restart or start a process with closing all file descriptors in C

I want to restart my process cleanly. So I tried to call execv(). It seemed to work well. However, it keeps sockets and files opened. Is there a way to restart (this) process and close all file/sockets? I don't want to make a zombie process, I don't…
softgearko
  • 55
  • 1
  • 9
3
votes
1 answer

Restart Mac without having to enter password

Every time I start or restart my Mac running Yosemite, MAMP forces me to enter my admin user name and password first. Is there a way to bypass this? I don't want to have to enter my credentials every time I restart or quit MAMP.
JJ Spelman
  • 41
  • 1
  • 4
3
votes
1 answer

Continuously run an IOS app in the background even after sleep or reboot

I need to run an iPhone app in the background continuously so that it can respond to events thrown by CTCallCenter and CTTelephonyCenter. I have been using Private API's but can not jailbreak the phone. By using Location and VOIP background modes, I…
Jim109
  • 501
  • 6
  • 14
3
votes
2 answers

Why is restart needed to send crash log on iOS?

With a custom crash reporting system (like the ones specialized at Ask the user to send crash log after crash on iPhone) to send the log, the app needs to restart. Why? Isn't there a possibility to send it during the custom exception handling? Or is…
Display Name
  • 4,502
  • 2
  • 47
  • 63
3
votes
1 answer

How can a WiX Burn managed bootstrapper handle force reboots?

I am creating a managed bootstrapper application with WiX Burn. I need to handle some ExePackage elements which may require a forced restart. This question has some tantalizing clues about how to handle the restart, but I'm having trouble getting…
Dan Jagnow
  • 1,175
  • 12
  • 28
3
votes
1 answer

Restart jboss as 7 programmatically

I'm able to restart JBoss AS 7.2.0 Final using Jboss CLI with the following command: jboss-cli.bat --connect --controller=IP:9999 --command=:shutdown(restart=true) Now i need to do it programmatically from a java class, i've tried using the Jboss…
callafa
  • 385
  • 2
  • 6
  • 20
3
votes
0 answers

Windows Phone 8 restarting from tombstone state

In my app, I'd haven't implemented any deactivate/resume code yet. The app will restart fine if it's deactivated and then reactivated, but if I mark 'Tombstone upon deactivation while debugging' in the debug settings, I get a 'Resuming' message that…
jchristof
  • 2,794
  • 7
  • 32
  • 47