Questions tagged [wait]
17 questions
17
votes
6 answers
Running multiple concurrent background processes then wait for all of them to terminate, on Windows
Anybody know if there is cmd script that does that and/or a command line tool ready for the job?
Sergio
- 295
9
votes
1 answer
What do I do when a program stops responding?
When a program stops responding, and turns gray and the box that says "this program is no longer responding" comes up, How do I know when to close the window, and when do I wait for it to respond?
wizlog
- 13,573
3
votes
3 answers
Sequential parallel with wait
I want to run a multi-parallel task in one bash file like the example code below,
for i in 1 2 3 4 5 6 7 8; do
setsid python /tmp/t.py ${i} 1>>/tmp/1.log 2>&1 &
done
wait # first wait
echo "next wait"
for i in 9 10 11 12 13 14 15 16; do
…
GoingMyWay
- 185
2
votes
1 answer
Is there a way to suppress the waving pendulum animation in Firefox tab titles during load?
Is there a way to suppress the waving pendulum animation in Firefox tab titles during load? I'm seeing this in my latest update (57.0.1). Pretty sure it wasn't there before as it's driving me crazy.
Some kind of busy indicator is obviously helpful…
Reg Edit
- 4,886
2
votes
2 answers
abort spawned program when it prints a specific warning
My Bash 4 script calls a third-party program P (one that I can't recompile), which prints warnings to STDOUT. When it prints yikes, it also enters an infinite loop. So when I detect a yikes, how can I immediately stop P and return control to my…
Camille Goudeseune
- 2,721
1
vote
3 answers
Windows XP waits for USB drive on almost every operation
I have a problem with my Windows XP operating system, particularly with the USB device that is plugged in - 1TB WD My Book external drive. I haven't found any information about such behavior when searching in Internet, so I have to ask You.
The…
Tomasz Kowalczyk
- 177
1
vote
1 answer
When booting Windows 7, everytime a sceen appears for 10 minutes "configuring updates 0%" before continuing
Possible Duplicate:
Stop Windows 7 from installing some updates which aren't working?
Prevent Windows 7 from installing a “critical” updates that crashes the system.
Windows Update Failure
Has anyone experienced something like that? Could't dfind…
Stefan
1
vote
0 answers
How to auto create a dump of a process when a wait chain is stuck for more than x seconds?
When a process hangs temporarily and resource monitor/task manager show there is something stuck in the wait chain, I can
use for example Process Explorer to create a dump of it
open WinDbg and run !analyze -v -hang to see which thread was…
Gaia
- 7,279
- 8
- 38
- 40
1
vote
1 answer
ssh + here document – does Ctrl+C get to remote side?
As part of a series of tasks I have to do, I have to build a bash script that accesses a remote computer, executes 3 commands, waits for a process to end through a SIGINT (or simply end) and then do some cleanup afterwards.
Currently, I'm using this…
brunoais
- 232
1
vote
1 answer
WIN Task Scheduler - Wait before shutdown
I have a laptop which performs a task scheduled by Windows task scheduler every 30 min. It is running in the background in the "hidden" mode. It takes about 2-3 min for task to finish.
If I then prompt to shutdown or hibernate while the task is…
0
votes
2 answers
Setting up an alias that waits for the next prompt to enter a command
I'm trying to set up an alias that connects to an ftp site..
so far (with the help of SO :] ) I've been able to create the alias that will connect.
I've tried adding the next command preceded by a semi-colon but it doesn't work.
What I'm looking for…
d-_-b
- 315
0
votes
1 answer
Run batch file on remote computer using PSExec and continue execution, don't wait for remote process to end
I would like to run a program (a batch file with an infinite loop inside) on a remote host using PSEXec, and continue execution afterwards. My problem is that when I run a command like:
psexec -d -u user -p password \\192.168.42.42…
Erik
- 1,487
0
votes
1 answer
"Getting Windows ready. Don't turn off your computer": Is there any way to get some estimate as to how long it'll take? (eg, 30 seconds vs 30 minutes)
When Microsoft Windows 10 says:
Getting Windows ready. Don't turn off your computer.
Is there any way to get some estimate as to how long it'll take? (e.g., 30 seconds vs. 30 minutes)
Franck Dernoncourt
- 24,246
- 64
- 231
- 400
0
votes
1 answer
Getting the process id of an invoked PowerShell command
Is there anyway of using ps to get the pid of a powershell command which is already executing.
For e.g., say I've already executed the following command.
ls | ? { } | % { }
The goal is I open up another powershell…
deostroll
- 1,895
0
votes
1 answer
Mount TrueCrypt volume in a batch file and wait for it to finish
how do i get a batch script to wait for TrueCrypt to successfully mount, before moving on w/the script?
i.e., i would like run a single batch script that would a) mount a volume, b) wait for user to input correct password, c) run a program on the…
atreyu
- 362