An infinite loop occurs when a system repeats a set of steps ad infinitum. Generally, the system must be halted in an adverse way to stop the infinite loop.
Questions tagged [infinite-loop]
75 questions
44
votes
12 answers
How can I perform a ping every X minutes and check the response time?
I am currently working in a big company and we have serious latency issues.
This is happening in a process control system, and is unacceptable (Open a valve sometimes take 2 minutes before command start)
I want to double-check when the network team …
Waza_Be
- 575
17
votes
2 answers
How to infinite loop every video I play as defaut on MPV player without having to press shift+L hotkey every single time?
I think the title is clear without filling the body.
Every time I play new video the inf loop is gone and I need to press shift+L again each time. How to just make this my default setting. As far as I know there is no configuration in this program.…
galih_ken
- 181
9
votes
3 answers
How can I break a symbolic link loop?
While I was trying to compile a C shared object library, I accidentally created two symbolic links which point to each other. Is there a way to get rid of them without nuking the whole directory? I read that the only way to break a symbolic link is…
Evan Kroske
- 458
7
votes
12 answers
List all files and dirs without recursion with junctions
Is there a native|portable tool that can give me a unicode or a system local-compatible list of all files and directories under a path recursively, without recursing into junction points or links, in Windows?
For example, the built-in dir takedown…
n611x007
- 6,566
- 15
- 67
- 91
7
votes
1 answer
How do I abort a long-running regex replace?
Edit: While I refer to RegEx in my background, I'm not looking for you to fix my RegExp (thanks for trying though) - rather I want to know "how do I abort a search/replace in NotePad++".
Environment
I'm using latest version of NPP (v.5.9.6.2) on…
Greg
- 193
- 1
- 8
7
votes
2 answers
I've trapped myself outside my Mac. Help
A dreaful mistake lead to the following situation: Each and every one of my mouse buttons loads the Dashboard. I can't change the settings, not without using the mouse. It's a Catch 22.
How can I reset the mouse's settings, using Terminal,…
Konzepz
- 795
5
votes
2 answers
Teamviewer to a computer that is Teamviewered to you
What happens when I Teamviewer to a computer that is Teamviewered back to me? Will it create an Infinite loop?
sirwoetang
- 113
4
votes
2 answers
Windows 8 reboot causes an infinite loop
I have installed Windows 8 Professional 64-bit in a VHD that dual boots with Windows 7. The VHD is dynamically expanding with a 128 GB capacity.
When windows 8 reboots, it seems to get stuck in an infinite loop and will say "Restarting" while the…
ctype.h
- 863
4
votes
0 answers
Windows 10 recovery/restore infinite loop without login access
my asus laptop TP300L is stuck in an infinite loop, I cannot access windows as the computer reboots before I can do anything.
Situation
here is the sequence of screens I get:
asus logo
a spinner appears
for less than a second the shape of a windows…
Raphael
- 41
3
votes
1 answer
Terminal command for infinite execution of application
I tried almost every keyword on Google and still didn't came up with an answer. So hopefully one of you knows.
What is the terminal command keep a application running after it fails or stopped executing.
I tried this loop command in terminal:
bash…
sparkle
- 133
3
votes
4 answers
CMD keep running program
This isn't very googleable, and other than writing prog.exe -params several times in a batch file (which would obviously only work as many times as I wrote it) I can't think how to repeatedly do this.
The CLI program I'm running sometimes crashes. I…
OJFord
- 641
3
votes
1 answer
How to toggle --loop-playlist on/off within a running instance of mpv?
If I'm playing a list of files in mpv (just as a directory), how do I toggle on/off its repeating the playing of the list/directory?
I know I can specify this when I launch mpv with --loop-playlist, which is great, but I want to know how to do it…
Brōtsyorfuzthrāx
- 245
3
votes
1 answer
Windows 10: How to access the advanced boot menu before booting (which fails) in order to discard hibernation state and instead boot normally?
I am currently stuck in a never-ending boot sequence in Windows 10 after failing to properly shutdown due to a misbehaving USB thumb drive. How can I escape? I will explain step-by-step what happened:
Before hardware-disconnecting a USB thumb…
summerrain
- 491
3
votes
4 answers
Loop: Start program and kill after time out
for debugging reasons I want to spot one of those bugs showing up just occasionally. Therefore I want to code a while loop in the shell
starting the program (if it will segfault => that's what I want)
kill the program after a certain timeout (e.g.…
math
- 2,693
2
votes
8 answers
How to break out of a program in an infinite loop?
When running a program that goes into an infinite loop in the terminal, how would I bring back the command prompt?
(I'm using Fedora core 5)
trinity
- 191